main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?
Answer Posted / niru
2 2 2
it returns the size of the int.
if the compiler is 32bit, size of the int=4
o/p: 4 4 4
| Is This Answer Correct ? | 3 Yes | 8 No |
Post New Answer View All Answers
What is the correct declaration of main?
Write a program of advanced Fibonacci series.
Differentiate between #include<...> and #include '...'
What is difference between stdio h and conio h?
What are the salient features of c languages?
Is there a way to compare two structure variables?
What is New modifiers?
code for replace tabs with equivalent number of blanks
Where we use clrscr in c?
how to write optimum code to divide a 50 digit number with a 25 digit number??
When should structures be passed by values or by references?
What are categories used for in c?
What is the use of gets and puts?
Where are c variables stored in memory?
Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1