while initialization of two dimensional arrays we can
initialize like a[][2] but why not a[2][] is there any
reason behind this?
Answer Posted / prady
2 dimension array a[row][col]; in this 'col' indicates size
of block,and 'row' indicates no. of blocks.
Compiler prefer memory unit size first rather no.of memory
units.
| Is This Answer Correct ? | 25 Yes | 1 No |
Post New Answer View All Answers
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What is p in text message?
What is restrict keyword in c?
Is the exit() function same as the return statement? Explain.
Explain that why C is procedural?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
What is spaghetti programming?
What does return 1 means in c?
Who invented bcpl language?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
What is the difference between if else and switchstatement
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
Why should I use standard library functions instead of writing my own?
What is difference between union and structure in c?
What does == mean in texting?