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

How many data structures are there in c?

603


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

1719


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

923


Explain data types & how many data types supported by c?

568


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

645






Is it possible to initialize a variable at the time it was declared?

745


Explain the use of bit fieild.

698


how to find anagram without using string functions using only loops in c programming

2704


What is the need of structure in c?

550


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1854


What is a null string in c?

573


What are 3 types of structures?

582


Is a pointer a kind of array?

589


What is the explanation for modular programming?

669


Write a program of prime number using recursion.

607