C
Programming and Technical
Programming
Output
What is sizeof(a)?
int *a[10];
int *(a)[10];
int **(a)[10];
int *a(int b,char ch);
Read Solution (Total 5)
-
- 20 bytes
as pointer contains address which have datatype int , and int takes 2 bytes there are total 10 pointers so 10*2=20 bytes is the size of a - 9 years agoHelpfull: Yes(1) No(0)
- 4 - byte
since pointers have 4 byte memory
- 9 years agoHelpfull: Yes(0) No(0)
- The size of the pointer depends on the compiler u are using , so assuming that size of pointer is 8 byte.
Answer is 80 bytes. as there are 10 pointers for ten fields of array . - 9 years agoHelpfull: Yes(0) No(0)
- pointer has only 4 byte for all types of data.
- 9 years agoHelpfull: Yes(0) No(0)
pointer has only 4 bytes so 40;- 9 years agoHelpfull: Yes(0) No(0)
C Other Question