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
Why clrscr is used after variable declaration?
Why is extern used in c?
Do pointers need to be initialized?
What are shell structures used for?
What are the characteristics of arrays in c?
What is calloc() function?
write a programming in c to find the sum of all elements in an array through function.
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
What is #include stdio h?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
How can I read data from data files with particular formats?
What is the scope of an external variable in c?
What is the difference between text files and binary files?
Explain what does it mean when a pointer is used in an if statement?
Can we declare function inside main?