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
What is the best organizational structure?
What is a program flowchart and how does it help in writing a program?
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 the best way of making my program efficient?
Write a program to swap two numbers without using a temporary variable?
Which header file is used for clrscr?
What is a keyword?
What is sizeof c?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
Why clrscr is used after variable declaration?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
Explain how can you tell whether two strings are the same?
Simplify the program segment if X = B then C ← true else C ← false
shorting algorithmS
What is this infamous null pointer, anyway?