main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
Answer Posted / manish soni bca 3rd year jaipu
#include<stdio.h>
#include<conio.h>
void main()
{
printf("%d %d %d",sizeof('3'),sizeof("3"),sizeof
(3));
getch();
}
answer is:-
1 2 2
on Turbo C++ 4.5 on win base at win 7
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the difference between text files and binary files?
What is structure padding and packing in c?
What is the sizeof () operator?
How can variables be characterized?
What is the difference between void main and main in c?
Using functions, write a program that multiplies two arrays. Use the following functions: - Function ReadArray - Function MultiplyArrays - Function DisplayArrays
Why do we write return 0 in c?
Explain how can you tell whether a program was compiled using c versus c++?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
How can I read and write comma-delimited text?
What is a null string in c?
Explain what is the difference between the expression '++a' and 'a++'?
What is actual argument?
Is c pass by value or reference?
What is the meaning of 2d in c?