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

How do you sort filenames in a directory?

1124


What is the difference between array and structure in c?

1085


write a program to find out prime number using sieve case?

2037


What is local and global variable in c?

1128


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

958


What is the size of empty structure in c?

1018


What should malloc(0) do?

1058


Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?

2500


How many identifiers are there in c?

962


Hi can anyone tell what is a start up code?

2000


explain what are actual arguments?

1032


What is hash table in c?

972


What is meant by operator precedence?

1096


Explain pointer. What are function pointers in C?

1016


Is main is a keyword in c?

1072