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
write a program to generate address labels using structures?
int i=3; this declaration tells the C compiler to a) reserve space in memory to hold the integer value b) associate the name i with this memory location c) store the value 3 at this location d) all the above
What is the difference between typedef struct and struct?
Is c programming hard?
What are categories used for in c?
Is a pointer a kind of array?
Is stack a keyword in c?
What is a program flowchart and explain how does it help in writing a program?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Can we assign integer value to char in c?
How do you write a program which produces its own source code as output?
disply the following menu 1.Disply 2.Copy 3.Append; as per the menu do the file operations 4.Exit
Why is c called c not d or e?
Explain main function in c?
what is stack , heap ,code segment,and data segment