write a program for size of a data type without using
sizeof() operator?
Answer Posted / arun kumar mishra kiit univers
#include<stdio.h>
#include<conio.h>
void main()
{
float f1,*Ptr1,*Ptr2;
ptr1 = &fl;
ptr2 = (&fl+1);
printf("%u",(char *)ptr2-(char *)ptr1);
getch();
}
| Is This Answer Correct ? | 11 Yes | 4 No |
Post New Answer View All Answers
What is the purpose of sprintf?
What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?
write a program to convert a expression in polish notation(postfix) to inline(normal) something like make 723+* (2+3) x 7 (not sure) just check out its mainly printing expression in postfix form to infix.
What is class and object in c?
Explain the difference between strcpy() and memcpy() function?
Why shouldn’t I start variable names with underscores?
Who developed c language and when?
Why c is procedure oriented?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
how is the examination pattern?
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
Explain about C function prototype?
When should the const modifier be used?
A c program to display count values from 0 to 100 and flash each digit for a secong.reset the counter after it reaches 100.use for loop,. pls guys hepl me.. :(
Why main function is special give two reasons?