What is the memory allocated by the following definition ?
int (*x)[10];
Answer Posted / kracekumar
integer occupies 4 bytes in *nix os and 2 byte in DOS/Windows ,so the right answer is sizeof(int)*10.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What are control structures? What are the different types?
What is the purpose of main() function?
What is main return c?
Why is c platform dependent?
What is zero based addressing?
What is the purpose of void in c?
Tell me the use of bit field in c language?
What is difference between stdio h and conio h?
What is the scope of local variable in c?
What is typedef example?
What is type qualifiers?
Explain what is a static function?
What are c preprocessors?
Explain what is the heap?
What is storage class?