how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / amit prakash
main()
{
int a;
int *aa,*bb;
int size;
aa = &a;
bb=aa;
bb++;
size=bb-aa;
printf("\nsize_of_int:%u",size) ; // actual size but
depends upon compiler
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
Can you please explain the difference between malloc() and calloc() function?
Are enumerations really portable?
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 non linear data structure in c?
Explain what are its uses in c programming?
What should malloc() do?
i got 75% in all semester am i eligible for your company
What is function prototype in c with example?
What is your stream meaning?
What is calloc malloc realloc in c?
What is cohesion in c?
Function calling procedures? and their differences? Why should one go for Call by Reference?
What are the types of c language?
Who developed c language?