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
A function can make the value of a variable available to another by a) declaring the variable as global variable b) Passing the variable as a parameter to the second function c) Either of the two methods in (A) and (B) d) binary stream
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
How can I automatically locate a programs configuration files in the same directory as the executable?
Describe the modifier in c?
Explain how are 16- and 32-bit numbers stored?
What are the properties of union in c?
Not all reserved words are written in lowercase. TRUE or FALSE?
Explain the difference between null pointer and void pointer.
What are bitwise shift operators in c programming?
What is a const pointer in c?
why programs in c are running with out #include
Explain what are multidimensional arrays?
What is the usage of the pointer in c?
Is there any possibility to create customized header file with c programming language?
Describe the steps to insert data into a singly linked list.