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
What is ctrl c called?
Is c easier than java?
how to count no of words,characters,lines in a paragraph.
Describe wild pointers in c?
how many errors in c explain deply
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
differentiate built-in functions and user – defined functions.
How can I call a function with an argument list built up at run time?
Is there sort function in c?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What is difference between union All statement and Union?
How do you generate random numbers in C?
How to compare array with pointer in c?
What is quick sort in c?
What are different types of operators?