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
write a program to rearrange the array such way that all even elements should come first and next come odd
What are the different types of control structures?
Explain how do you print only part of a string?
How are Structure passing and returning implemented by the complier?
Why string is used in c?
what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)
What tq means in chat?
What are the types of assignment statements?
Explain how can I prevent another program from modifying part of a file that I am modifying?
What are qualifiers in c?
Do pointers store the address of value or the actual value of a variable?
How can a string be converted to a number?
Can we change the value of static variable in c?
Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?
What are the disadvantages of c language?