#include<stdio.h>
main(0
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
Answer Posted / a.c.pattanaik
code is error due to declaration
if code is this
main()
{
printf("\n %d %d %d",sizeof(2),sizeof("a"),sizeof(2));
}
Ans-4 2 4
Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
Explain that why C is procedural?
How a string is stored in c?
How arrays can be passed to a user defined function
What is the auto keyword good for?
What is #ifdef ? What is its application?
Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?
Write a program in c to replace any vowel in a string with z?
Is fortran still used today?
How do you use a pointer to a function?
What is the use of a ‘’ character?
What are the 5 elements of structure?
What is #define in c?
Is it better to bitshift a value than to multiply by 2?
What is the scope of static variables in c language?
int far *near * p; means