#include<stdio.h>
main(0
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
Answer Posted / abhishek kumar verma
you have made a typing mistake if code will be this
#include<stdio.h>
main()
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
then output will be 4 2 4
because in first it will print the size of an integer and in second it will print the size of an string and in third it will print the size of integer again .
Is This Answer Correct ? | 4 Yes | 5 No |
Post New Answer View All Answers
How to set file pointer to beginning c?
Which are low level languages?
What is the use of function overloading in C?
What is 2 d array in c?
How do you redirect a standard stream?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is #include stdio h and #include conio h?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
How was c created?
What is a sequential access file?
What are multibyte characters?
Is c is a high level language?
Explain how to reverse singly link list.
How can you find the day of the week given the date?
is it possible to create your own header files?