Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Answers were Sorted based on User's Feedback



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

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

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

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

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

Answer / ajay

syntax error

Is This Answer Correct ?    1 Yes 1 No

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

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

Post New Answer

More C Interview Questions

What is a floating point in c?

0 Answers  


what is the use of pointers

6 Answers   Adobe, GrapeCity,


how does a general function , that accepts an array as a parameter, "knows" the size of the array ? How should it define it parameters list ?

0 Answers  


Can main () be called recursively?

0 Answers  


where does malloc() function get the memory?

1 Answers  


When you call malloc() to allocate memory for a local pointer, do you have to explicitly free() it?

2 Answers   Aloha Technology,


WAP to find that given no is small or capital

3 Answers  


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

0 Answers   IBS,


Tell us the difference between these two : #include"stdio.h" #include<stdio.h> define in detial.

5 Answers  


Find Error if any in below code, Justify ur answer: struct xx { int a; struct yy { char c; struct xx* p; } struct yy* q; }

3 Answers   NDS,


write a c code "if you give a any decimal number then print that number in english alphabet"? ex: i/p: 552 o/p: five hundred fifty two ...

1 Answers   Philips,


What are formal parameters?

0 Answers  


Categories