Write code for initializing one dimentional and two
dimentional array in a C Program?

Answer Posted / varsha vilas kalebag

one dimensional array :
a={2}
two dimensional array
b={2,3}

Is This Answer Correct ?    5 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is function prototype in c language?

832


1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321

3457


What is main function in c?

808


What are the types of pointers?

805


Write a program, where i have a grid with many cells, how many paths are possible from one point to other desired points.

998


How do you define a string?

874


How to compare array with pointer in c?

863


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2453


What is extern storage class in c?

735


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

1203


When would you use a pointer to a function?

814


Explain what is page thrashing?

865


Explain the use of 'auto' keyword

900


How is pointer initialized in c?

807


explain what is an endless loop?

853