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 is variable declaration and definition in c?
Is a pointer a kind of array?
Why is c called "mother" language?
How many types of errors are there in c language? Explain
How do you sort filenames in a directory?
write a progrmm in c language take user interface generate table using for loop?
What is oops c?
Why main is not a keyword in c?
general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only
What is the difference between near, far and huge pointers?
What is the general form of #line preprocessor?
Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......
Here is a neat trick for checking whether two strings are equal
What is difference between class and structure?
What is the benefit of using #define to declare a constant?