struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator??
Answer Posted / avinash dubey
the correct answer in gcc compiler is 12..
concept of structure padding is involved here..
| Is This Answer Correct ? | 11 Yes | 2 No |
Post New Answer View All Answers
Difference between macros and inline functions? Can a function be forced as inline?
Which one would you prefer - a macro or a function?
GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA
What is a function simple definition?
What is wrong with this statement? Myname = 'robin';
What is a node in c?
What are predefined functions in c?
Explain what does the format %10.2 mean when included in a printf statement?
What is a #include preprocessor?
Who invented b language?
What does 2n 4c mean?
Can we replace the struct function in tree syntax with a union?
What is && in c programming?
What is file in c preprocessor?
Explain what is the difference between #include and #include 'file' ?