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 / subhrajeet sairam mohanty
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 ? | 0 Yes | 0 No |
Post New Answer View All Answers
Once I have used freopen, how can I get the original stdout (or stdin) back?
What is the use of getchar() function?
What is a stream?
What is #line in c?
How can you pass an array to a function by value?
What is I ++ in c programming?
hi, which software companys will take,if d candidate's % is jst 55%?
the factorial of non-negative integer n is written n! and is defined as follows: n!=n*(n-1)*(n-2)........1(for values of n greater than or equal to 1 and n!=1(for n=0) Perform the following 1.write a c program that reads a non-negative integer and computes and prints its factorial. 2. write a C program that estimates the value of the mathematical constant e by using the formula: e=1+1/!+1/2!+1/3!+.... 3. write a c program the computes the value ex by using the formula ex=1+x/1!+xsquare/2!+xcube/3!+....
What are logical errors and how does it differ from syntax errors?
How can a number be converted to a string?
What are called c variables?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
Differentiate between static and dynamic modeling.
What math functions are available for integers? For floating point?
What is the heap?