What is the memory allocated by the following definition ?
int (*x)[10];
Answer Posted / niraj singh
It will occupy 2 bytes of memory(In 16-bit system).
Explanation: int (*x)[10] means pointer to an array of 10
integers , not an array of 10 nos. of integer pointers. So
any pointer can take two bytes of memory.
Is This Answer Correct ? | 32 Yes | 1 No |
Post New Answer View All Answers
List a few unconditional control statement in c.
What is the purpose of the statement: strcat (S2, S1)?
What is openmp in c?
Why do we use static in c?
Explain setjmp()?
What is the c language function prototype?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
How can I do serial ("comm") port I/O?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
Explain how are portions of a program disabled in demo versions?
Tell me what is the purpose of 'register' keyword in c language?
what is uses of .net
Explain how do you determine a file’s attributes?
What is the difference between array and pointer?
What is .obj file in c?