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


Please Help Members By Posting Answers For Below Questions

What is default value of global variable in c?

729


Is c compiled or interpreted?

862


What are void pointers in c?

748


Differentiate between functions getch() and getche().

795


How can you allocate arrays or structures bigger than 64K?

873






what do you mean by enumeration constant?

764


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2391


What is spark map function?

770


What are predefined functions in c?

746


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1661


what are enumerations in C

904


Why we use conio h in c?

870


Can we declare variable anywhere in c?

700


Array is an lvalue or not?

827


What does the function toupper() do?

847