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
What is "Hungarian Notation"?
What are the types of pointers in c?
Compare and contrast compilers from interpreters.
What is double pointer in c?
What are pointers?
Why is event driven programming or procedural programming, better within specific scenario?
What is the use of define in c?
Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.
why we wont use '&' sing in aceesing the string using scanf
What is a class c rental property?
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What is structure packing in c?
What is union and structure in c?
Tell me can the size of an array be declared at runtime?
What are comments and how do you insert it in a C program?