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
about c language
What are the properties of union in c?
What is a program flowchart and explain how does it help in writing a program?
What is a example of a variable?
What are header files? What are their uses?
How many types of operators are there in c?
How a string is stored in c?
Where static variables are stored in memory in c?
What is 2 d array in c?
How can I get back to the interactive keyboard if stdin is redirected?
What is a ternary operator in c?
How do I swap bytes?
What does #pragma once mean?
Can you tell me how to check whether a linked list is circular?
What is selection sort in c?