we started off taking about input output cpu and


We started off taking about input, output, CPU and memory devices. Within C we need a method of storing large amounts of data in memory. We have used the idea of variables (pointers to memory), however if we want to store one hundred pieces of data, we need one hundred variables. This is the concept of an array; here the variables are named automatically. The syntax of the variables is:

  Variable [ number][number][number etc ]
 
For example A[1] , A[2] , Bcd[200] , A[1][2]  etc
 
C statements require the array declared before it is used indicating the maximum size using the type statement e.g.

       float  a[11];
   
Here we have defined an array called 'a' which contains 11 real numbers i.e. items 0-10

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: we started off taking about input output cpu and
Reference No:- TGS0414654

Expected delivery within 24 Hours