main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?
Answer Posted / manik
1 2 4
| Is This Answer Correct ? | 9 Yes | 20 No |
Post New Answer View All Answers
Is it valid to address one element beyond the end of an array?
What is a macro, and explain how do you use it?
What do you mean by scope of a variable in c?
What are the types of functions in c?
What does main () mean in c?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
How can type-insensitive macros be created?
Explain what is the use of a semicolon (;) at the end of every program statement?
What is the use of sizeof?
I have seen function declarations that look like this
What is a union?
What is a char in c?
#include main() { int *p, *c, i; i = 5; p = (int*) (malloc(sizeof(i))); printf(" %d",*p); *p = 10; printf(" %d %d",i,*p); c = (int*) calloc(2); printf(" %d ",*c); }
Is c language still used?
What does sizeof int return?