struct ptr
{
int a;
char b;
int *p;
}abc;
what is d sizeof structure without using "sizeof" operator??

Answer Posted / ryan

The size of the structure is 5 bytes

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

using for loop sum 2 number of any 4 digit number in c language

1725


Explain what is the difference between null and nul?

646


What are the types of assignment statements?

622


What is the process of writing the null pointer?

602


What is stack in c?

600






Write a factorial program using C.

636


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1488


Explain what are the standard predefined macros?

643


How do you initialize pointer variables?

600


Explain 'bus error'?

547


Why we use void main in c?

584


what is the difference between 123 and 0123 in c?

710


What is line in c preprocessor?

606


Explain what are the different data types in c?

745


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

736