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
Explain how can you determine the size of an allocated portion of memory?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What is a 'null pointer assignment' error?
How do I determine whether a character is numeric, alphabetic, and so on?
Explain the use of 'auto' keyword
using only #include
Tell me the use of bit field in c language?
What are enumerated types?
Explain how does flowchart help in writing a program?
Describe newline escape sequence with a sample program?
How do you generate random numbers in C?
Difference between exit() and _exit() function?
Difference between macros and inline functions? Can a function be forced as inline?
What are structure types in C?
Why use int main instead of void main?