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 how can a program be made to print the name of a source file where an error occurs?
What is the maximum length of an identifier?
What is an operator?
Write a Program to accept different goods with the number, price and date of purchase and display them
How can you convert integers to binary or hexadecimal?
What is the use of getch ()?
List the difference between a While & Do While loops?
Explain how can you restore a redirected standard stream?
Explain how can I make sure that my program is the only one accessing a file?
Why isnt there a numbered, multi-level break statement to break out
can we have joblib in a proc ?
What are the types of type specifiers?
writ a program to compare using strcmp VIVA and viva with its output.
What is a volatile keyword in c?
What is this pointer in c plus plus?