#include<stdio.h>
main(0
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
Answers were Sorted based on User's Feedback
Answer / nithya
the above code output is
syntax error
this code will be change from
#include<stdio.h>
main()
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}
the out put is
222
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / 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 |
Answer / 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 |
Write a function that will take in a phone number and output all possible alphabetical combinations
Write a C program to remove the repeated characters in the entered expression or in entered characters(i.e) removing duplicates
Why do we use static in c?
consagous technology placement paper
can we define a function in structure?
is it possible to create your own header files?
Explain the use of keyword 'register' with respect to variables.
Explain what is the difference between functions abs() and fabs()?
what is pointer ? what is the use of pointer?
In which area global, external variables are stored?
What is typedef struct in c?
How to swap two values using a single variable ? condition: Not to use Array and Pointer ?