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
What are c preprocessors?
Stimulate calculator using Switch-case-default statement for two numbers
What is the difference between struct and union in C?
What is p in text message?
How to write a code for implementing my own printf() and
scanf().... Please hep me in this... I need a guidance...
Can you give an coding for c... Please also explain about
the header files used other than #include
Explain why C language is procedural?
If null and 0 are equivalent as null pointer constants, which should I use?
What is the explanation for prototype function in c?
What is external variable in c?
How is a macro different from a function?
What is modifier & how many types of modifiers available in c?
What is the collection of communication lines and routers called?
Explain the ternary tree?
Why string is used in c?
What is type qualifiers?