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
Is null always equal to 0(zero)?
Explain how do you use a pointer to a function?
What is c variable?
What is the difference between array and pointer in c?
What is a far pointer in c?
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What is c token?
In C, What is the #line used for?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Explain the use of keyword 'register' with respect to variables.
Explain what are binary trees?
Apart from dennis ritchie who the other person who contributed in design of c language.
Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
Explain goto?
What is the difference between single charater constant and string constant?