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
Explain what is the most efficient way to store flag values?
How can I find out how much free space is available on disk?
What is advantage of pointer in c?
In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
Is c is a high level language?
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What is the difference between declaring a variable and defining a variable?
Explain the use of 'auto' keyword in c programming?
What is the difference between c and python?
What is dynamic dispatch in c++?
What is the difference between text files and binary files?
#include
can we implement multi-threads in c.
What is a pointer and how it is initialized?