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));
}

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you print only part of a string?

1023


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2136


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

3831


What does dm mean sexually?

1325


What is the size of enum in c?

1121


What is the use of sizeof () in c?

1060


Write the test cases for checking a variable having value in range -10.0 to +10.0?

2323


explain what is an endless loop?

1100


When should you not use a type cast?

1128


How can I find the modification date of a file?

1293


Why doesnt that code work?

1189


What is d'n in c?

1125


How can I rethow can I return a sequence of random numbers which dont repeat at all?

1192


Is it possible to initialize a variable at the time it was declared?

1225


What is meant by type specifiers?

1140