main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}
Answer Posted / manish soni bca 3rd year jaipu
#include<stdio.h>
#include<conio.h>
void main()
{
printf("%d %d %d",sizeof('3'),sizeof("3"),sizeof
(3));
getch();
}
answer is:-
1 2 2
on Turbo C++ 4.5 on win base at win 7
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
program for reversing a selected line word by word when multiple lines are given without using strrev
Can you think of a logic behind the game minesweeper.
a program that performs some preliminary processing in C, it acts upon certain directives that will affect how the compiler does its work a) compiler b) loader c) directive d) preprocessor
What are the c keywords?
How can you avoid including a header more than once?
Where we use clrscr in c?
How are variables declared in c?
Why does this code crash?
How is a macro different from a function?
What is the usage of the pointer in c?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What are the benefits of organizational structure?
What is the sizeof () a pointer?
Why do we need volatile in c?