how to find the size of the data type like int,float
without using the sizeof operator?
Answer Posted / rajesh gooda
ptr manipulation will return 1.
printf("size of int is %d",(int)((int*)0 + 1))
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Can you tell me how to check whether a linked list is circular?
What are the different file extensions involved when programming in C?
I heard that you have to include stdio.h before calling printf. Why?
application attempts to perform an operation?
Is it possible to pass an entire structure to functions?
What is the use of printf() and scanf() functions?
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Can a pointer be static?
How do I read the arrow keys? What about function keys?
What is #include stdlib h?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
What is the use of getchar functions?
The performance of an operation in several steps with each step using the output of the preceding step a) recursion b) search c) call by value d) call by reference
Why is this loop always executing once?
Can you mix old-style and new-style function syntax?