main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
Answer Posted / manjulatha
'3' is a character so it take 1 byte
"3" is a string containing 2 characters 3 and \0 so it takes
2bytes
3 is a integer and it takes 4 bytes
so answer is 1 2 4
| Is This Answer Correct ? | 15 Yes | 6 No |
Post New Answer View All Answers
What does the error 'Null Pointer Assignment' mean and what causes this error?
What are the types of assignment statements?
What is a lookup table in c?
What is the purpose of clrscr () printf () and getch ()?
What is union and structure?
praagnovation
What are types of structure?
What is the full form of getch?
what is the diffrenet bettwen HTTP and internet protocol
What's the total generic pointer type?
What is a list in c?
What is an example of structure?
What is the benefit of using an enum rather than a #define constant?
What is register variable in c language?
What are called c variables?