1.

Assume size of integer is 2 Bytes and size of address is 2 bytes.Consider the following code.void main( ){int a;int *b;int c[2];int (*d) [2];int *e[2];printf (" %u, %u, %u, %u, %u," sizeof(a), sizeof(b), sizeof(c), sizeof(d), sizeof(e));}What is the output produced by the given code?

Answer»

Assume size of integer is 2 Bytes and size of address is 2 bytes.

Consider the following code.

void main( ){int a;int *b;int c[2];int (*d) [2];int *e[2];printf (" %u, %u, %u, %u, %u," sizeof(a), sizeof(b), sizeof(c), sizeof(d), sizeof(e));}



What is the output produced by the given code?



Discussion

No Comment Found