Write code for initializing one dimentional and two
dimentional array in a C Program?
Answer Posted / dinesh kumar
static int [5]={2,3,4,5,6};
for one dimensional array
static int[3][3]={1,2,3,4,5,6};
for two dimensional array it consider as rows and columns
Is This Answer Correct ? | 7 Yes | 12 No |
Post New Answer View All Answers
Where does the name "C" come from, anyway?
Which node is more powerful and can handle local information processing or graphics processing?
What is function pointer c?
What are qualifiers and modifiers c?
Suggesting that there can be 62 seconds in a minute?
In c programming language, how many parameters can be passed to a function ?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
What is indirection?
How do you search data in a data file using random access method?
Do you know null pointer?
What is the explanation for the dangling pointer in c?
What does %c do in c?
What is nested structure with example?
What are header files in c?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays