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
Explain low-order bytes.
How to draw the flowchart for structure programs?
How can type-insensitive macros be created?
What is integer constants?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What are the advantages of using new operator as compared to the function malloc ()?
In which layer of the network datastructure format change is done
Is c is a procedural language?
Does free set pointer to null?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
How can my program discover the complete pathname to the executable from which it was invoked?
Give differences between - new and malloc() , delete and free() ?
Linked list is a Linear or non linear explain if linear how it working as a non linear data structures
What does dm mean sexually?
Why dont c comments nest?