Write code for initializing one dimentional and two
dimentional array in a C Program?
Answer Posted / kalpana.y
array:array is a collection of elements
one dimensional array:
code:
datatype arraysize[];
eg:
int a[5];
two-dimensional array:
code:
datatype array[rowsize][columnsize];
eg:
int a[5][5];
| Is This Answer Correct ? | 14 Yes | 8 No |
Post New Answer View All Answers
cavium networks written test pattern ..
What is a lvalue
What is "Duff's Device"?
What are the different types of constants?
What is signed and unsigned?
a) Identify the following declarations. Ex. int i (integer variable) float a[l0](array of 10 real nos) int (*f())() void *f int (*f()) [] void *f int f[] [] [] char *(*f) () int (*f[]) [] float(*f) [] [] float **f int ******f
hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm
How do you convert strings to numbers in C?
What is the meaning of typedef struct in c?
Explain union.
What are data types in c language?
When is a void pointer used?
What is multidimensional arrays
Where can I get an ansi-compatible lint?
List the variables are used for writing doubly linked list program.