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 / vishnu948923

void main()
{
int x,y;
y=&abc.a;
x=(&abc->p+1);
printf("%d",x-y);
}

Is This Answer Correct ?    8 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

1085


What is the difference between procedural and functional programming?

1038


What is difference between union and structure in c?

1105


printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions

1120


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

1125


What is the use of getchar() function?

1094


What is pointers in c with example?

1037


What is an lvalue?

1032


Why do we write return 0 in c?

1022


What is %s and %d in c?

1003


What does a function declared as pascal do differently?

1082


Can we increase size of array in c?

940


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2151


Why do we use int main?

1064


Why c is called a middle level language?

1075