Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

about c language

2018


What are the properties of union in c?

1055


What is a program flowchart and explain how does it help in writing a program?

1312


What is a example of a variable?

1026


What are header files? What are their uses?

1220


How many types of operators are there in c?

1041


How a string is stored in c?

1076


Where static variables are stored in memory in c?

1004


What is 2 d array in c?

1027


How can I get back to the interactive keyboard if stdin is redirected?

1192


What is a ternary operator in c?

1127


How do I swap bytes?

1079


What does #pragma once mean?

1168


Can you tell me how to check whether a linked list is circular?

1430


What is selection sort in c?

1103