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

write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...

0 Answers  


write a program in c to print **** * * * * ****

1 Answers   TCS,


What is the difference between functions abs() and fabs()?

0 Answers  


for(i=0;i=printf("Hello");i++); printf("Hello"); how many times how will be printed?????????

8 Answers  


How the c program is executed?

0 Answers  






Write a C program to convert an integer into a binary string?

1 Answers  


What is static function in c?

0 Answers  


Why is c called c?

0 Answers  


which one of follwoing will read a character from keyboard and store in c a)c=getc() b)c=getchar() c)c=getchar(stdin) d)getc(&c) e)none

7 Answers   Trident,


what is the use of pointers

6 Answers   Adobe, GrapeCity,


How the C program can be compiled?

11 Answers   HP,


int far *near * p; means

0 Answers   Honeywell,


Categories