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
How to write a multi-statement macro?
Disadvantages of C language.
Is main is a keyword in c?
Is c is a procedural language?
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Explain how can I pad a string to a known length?
How is a null pointer different from a dangling pointer?
Difference between MAC vs. IP Addressing
What is main () in c language?
What are linker error?
What is character set?
What is a protocol in c?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
Do you have any idea how to compare array with pointer in c?
Write an algorithm for implementing insertion and deletion operations in a singly linked list using arrays ?