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
Write a program to check armstrong number in c?
What is bubble sort technique in c?
What is the difference between exit() and _exit() function?
How can I run c program?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is a const pointer?
What is the difference between array_name and &array_name?
Can a pointer be static?
What are dangling pointers in c?
Why we use break in c?
What is the difference between union and structure in c?
What is integer constants?
What is the ANSI C Standard?
What is far pointer in c?
What does dm mean sexually?