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
Define Array of pointers.
Can a file other than a .h file be included with #include?
Which header file is essential for using strcmp function?
How can I call a function with an argument list built up at run time?
In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping
What is spaghetti programming?
Difference between goto, long jmp() and setjmp()?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
What is difference between array and pointer in c?
What is the use of header files?
Who is the main contributor in designing the c language after dennis ritchie?
What is a macro, and explain how do you use it?
What is the difference between pure virtual function and virtual function?
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?
What are the advantages of c preprocessor?