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
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is the scope of static variables in c language?
Subtract Two Number Without Using Subtraction Operator
What is realloc in c?
What is file in c language?
A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none
How to find a missed value, if you want to store 100 values in a 99 sized array?
What is the ANSI C Standard?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Can you define which header file to include at compile time?
Explain Function Pointer?
What are header files? What are their uses?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Are c and c++ the same?
What is the use of putchar function?