Write code for initializing one dimentional and two
dimentional array in a C Program?
Answer Posted / raam_bangaloreallinter
1-D array:
int a[4]={ 10,20,30,40};
2-D array: # 2 columns and 2 rows
int a[2][2]= {
{100,200},
{300,400} };
Raam - ramumcato@yahoo.com
Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
How can you return multiple values from a function?
What is stack in c?
Explain the use of 'auto' keyword in c programming?
What is a structure member in c?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
If I have a char * variable pointing to the name of a function ..
Write a program to know whether the input number is an armstrong number.
Tell me what is the purpose of 'register' keyword in c language?
I have a varargs function which accepts a float parameter?
What is the difference between a free-standing and a hosted environment?
What is character set?
Can we replace the struct function in tree syntax with a union?
Explain what is output redirection?
Explain what is a const pointer?