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
Do you know the use of fflush() function?
simple program of graphics and their output display
What is meant by 'bit masking'?
what is reason of your company position's in india no. 1.
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
What is a program?
What is a pointer on a pointer in c programming language?
How do you use a pointer to a function?
Why is python slower than c?
Describe dynamic data structure in c programming language?
write a program that types this pattern: 12345678987654321 12345678 87654321 1234567 7654321 123456 654321 12345 54321 1234 4321 123 321 12 21 1 1
Explain how are 16- and 32-bit numbers stored?
Explain what does the format %10.2 mean when included in a printf statement?
How can my program discover the complete pathname to the executable from which it was invoked?
Do you know null pointer?