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


Please Help Members By Posting Answers For Below Questions

What is return in c programming?

503


What is 1f in c?

1823


Explain how can you be sure that a program follows the ansi c standard?

852


What should malloc() do? Return a null pointer or a pointer to 0 bytes?

611


What is exit() function?

556






What does %c mean in c?

639


How can I list all of the predefined identifiers?

569


What is restrict keyword in c?

635


What happens if a header file is included twice?

580


Explain how can I avoid the abort, retry, fail messages?

581


What are local variables c?

539


What is 02d in c?

623


What extern c means?

527


GIVEN A FLOATING POINT NUMBER HOW IS IT ACTUALLY STORED IN MEMORY ? CAN ANYONE EXPLAIN?? THE 32 BIT REPRESENTATION OF A FLOATING POINT NUMBER ALLOTS: 1 BIT-SIGN 8 BITS-EXPONENT 23 BITS-MANTISSA

1422


Tell me what is null pointer in c?

602