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
in case any function return float value we must declare a) the function must be declared as 'float' in main() as well b) the function automatically returned float values c) function before declared 'float' keyword d) all the above
What does return 1 means in c?
In a switch statement, what will happen if a break statement is omitted?
Explain how do you search data in a data file using random access method?
What does static variable mean in c?
What are the Advantages of using macro
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
Explain what are the different file extensions involved when programming in c?
What is the difference between union and anonymous union?
Is r written in c?
What are local static variables? How can you use them?
Explain why c is faster than c++?
Tell me with an example the self-referential structure?
Explain what is the difference between functions getch() and getche()?
How can I change the size of the dynamically allocated array?