#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
Write a program to implement queue.
What is static memory allocation?
how do you programme Carrier Sense Multiple Access
What is pointers in c?
What is the -> in c?
What is struct node in c?
c program for searching a student details among 10 student details
What is f'n in math?
What is function and its example?
write a programming in c to find the sum of all elements in an array through function.
Why do we need arrays in c?
What is the argument of a function in c?
What is string function in c?
What is the use of in c?
How do you write a program which produces its own source code as output?