main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
wat is the o/p and how?
Answer Posted / manne ranjith
2 2 2
I compiled this in system,this is correct answer.check it
once...............
| Is This Answer Correct ? | 18 Yes | 23 No |
Post New Answer View All Answers
What is the significance of scope resolution operator?
Write a program to reverse a given number in c language?
What is the use of a static variable in c?
What is a global variable in c?
Why do some versions of toupper act strangely if given an upper-case letter?
What is the difference between arrays and pointers?
Define Spanning-Tree Protocol (STP)
What is memcpy() function?
What is a #include preprocessor?
Create a structure to specify data on students as given below: Roll number, Name, Department, Course, and Year of joining. Assume that there are not more than 450 students in the collage. (a) Write a function to print the names of all students who joined in the last 3 years. (b) Write a function to print the data of a student whose roll numbers are divisible by 4.
Explain what are reserved words?
What is typeof in c?
Explain how can you determine the size of an allocated portion of memory?
Why flag is used in c?
i = 25;switch (i) {case 25: printf("The value is 25 ");case 30: printf("The value is 30 "); When the above statements are executed the output will be : a) The value is 25 b) The value is 30 c) The value is 25 The value is 30 d) none