#include<stdio.h>
main(0
{
printf("\n %d %d %d",sizeof(3),sizeof("3"),sizeof(3));
}

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain that why C is procedural?

900


How a string is stored in c?

814


How arrays can be passed to a user defined function

789


What is the auto keyword good for?

832


What is #ifdef ? What is its application?

859


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

808


Write a program in c to replace any vowel in a string with z?

885


Is fortran still used today?

807


How do you use a pointer to a function?

861


What is the use of a ‘’ character?

808


What are the 5 elements of structure?

821


What is #define in c?

827


Is it better to bitshift a value than to multiply by 2?

866


What is the scope of static variables in c language?

847


int far *near * p; means

3315