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...

main()
{
printf("\n %d %d %d",sizeof('3'),sizeof("3"),sizeof(3));
}

Answer Posted / manjulatha

'3' is a character so it take 1 byte
"3" is a string containing 2 characters 3 and \0 so it takes
2bytes
3 is a integer and it takes 4 bytes
so answer is 1 2 4

Is This Answer Correct ?    15 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the process to create increment and decrement stamen in c?

1103


What is the benefit of using #define to declare a constant?

1151


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1310


What are data types in c language?

1109


How many keywords (reserve words) are in c?

1193


What's the best way of making my program efficient?

1154


How do you use a 'Local Block'?

1227


What is the difference between null pointer and wild pointer?

1252


How are Structure passing and returning implemented by the complier?

1229


How can I sort a linked list?

1087


#include main() { enum _tag{ left=10, right, front=100, back}; printf("left is %d, right is %d, front is %d, back is %d",left,right,front,back); }

1169


Who invented b language?

1476


Which type of language is c?

1124


What is atoi and atof in c?

1137


Explain what standard functions are available to manipulate strings?

1130