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


Please Help Members By Posting Answers For Below Questions

How do I send escape sequences to control a terminal or other device?

811


Explain how can I read and write comma-delimited text?

916


Which node is more powerful and can handle local information processing or graphics processing?

1064


how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

832


What is a function simple definition?

835


What does the error message "DGROUP exceeds 64K" mean?

972


What is the right type to use for boolean values in c? Is there a standard type?

781


Why does notstrcat(string, "!");Work?

875


What is a structure member in c?

746


What are types of functions?

751


c program for searching a student details among 10 student details

1862


Why we write conio h in c?

754


What is a shell structure examples?

788


Is return a keyword in c?

820


‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .

2566