main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?
Answer Posted / loganathan
2 2 2
it returns the size of the integer
| Is This Answer Correct ? | 9 Yes | 15 No |
Post New Answer View All Answers
What is the difference between int main and void main in c?
What is time null in c?
Do pointers take up memory?
What is the use of pragma in embedded c?
Is c is a middle level language?
Can math operations be performed on a void pointer?
What is character constants?
Why we use stdio h in c?
Is it possible to pass an entire structure to functions?
#define f(g,h) g##h main O int i=0 int var=100 ; print f ("%d"f(var,10));} wat would be the output??
In C, What is the #line used for?
How can I copy just a portion of a string?
What is a static variable in c?
Is it better to use malloc() or calloc()?
Tell us the use of fflush() function in c language?