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

What is the use of header?

1050


What are keywords in c with examples?

1038


When should you use a type cast?

1056


What is the use of getch ()?

1036


What is the difference between functions getch() and getche()?

1035


How do you convert strings to numbers in C?

1166


What is pointer to pointer in c with example?

981


Write a program in "C" to calculate the root of a quadratic equation ax^2+bx+c=0, where the value of a,b & c are known.

2166


When can you use a pointer with a function?

989


What is scope and lifetime of a variable in c?

988


What is const keyword in c?

1121


What is typeof in c?

955


program to find out date after adding 31 days to a date in the month of febraury also consider the leap year

3018


What's the difference between constant char *p and char * constant p?

1088


Are there constructors in c?

969