how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / vishnu948923
void main()
{
char *ptr1,*ptr2;
float fl;
ptr1 = &fl;
ptr2 = (&fl+1);
printf("%u",ptr2-ptr1);
}
| Is This Answer Correct ? | 29 Yes | 15 No |
Post New Answer View All Answers
What does malloc () calloc () realloc () free () do?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
i have to apply for the rbi for the post of officers. i need to know abt the entrance questions whether it may be aps or techinical....
What is the difference between #include and #include 'file' ?
How will you delete a node in DLL?
What is the use of printf() and scanf() functions?
Does sprintf put null character?
What header files do I need in order to define the standard library functions I use?
What is memcpy() function?
How old is c programming language?
What is a example of a variable?
How can type-insensitive macros be created?
How many levels of pointers have?
What does the c preprocessor do?
Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent