find the size of structure without using the size of function



find the size of structure without using the size of function..

Answer / vinay

struct abc
{
-------------
--------------
-------------
};

struct abc arr[2];
difference btw arr[2] and arr[1]

Is This Answer Correct ?    6 Yes 1 No

Post New Answer

More C Interview Questions

What is the size of enum in c?

0 Answers  


What is actual argument?

0 Answers  


What is #define?

0 Answers  


C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15

6 Answers   TCS, Wipro,


how we can say java is platform independent, while we require JVM for that particular Operating System?

3 Answers   Honeywell, TCS,






Why doesnt long int work?

0 Answers  


What are the different types of pointers used in c language?

0 Answers  


LOGIC OF Bodmas?

1 Answers  


void main(int n) { if(n==0) return; main(--n); printf("%d ",n); getch(); } how it work and what will be its output...............it any one know ans plz reply

0 Answers  


IS it possible to define a zero sized array in c.if it is possible how can the elements of that array can be accessed.array index starts from zero,if it is possible to define zero sized array how can be its first element can be accesseed.

5 Answers   TCS,


if function is declared as static in one source file, if I would like to use the same function in some other source file...is it possible....how ?

2 Answers   NetApp,


What is "Duff's Device"?

0 Answers   Celstream,


Categories