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 assignment operator?

1017


What are # preprocessor operator in c?

1061


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1164


Explain how can you check to see whether a symbol is defined?

1112


What is a nested formula?

1074


You are to write your own versions of strcpy() and strlen (). Call them mystrcpy() and mystrlen(). Write them first as code within main(), not as functions, then, convert them to functions. You will pass two arrays to the function in the case of mystrcpy(), the source and target array.

2291


What is c language and why we use it?

1018


#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }

1115


How do I get an accurate error status return from system on ms-dos?

1088


How can you check to see whether a symbol is defined?

1069


Why does the call char scanf work?

1170


What is sizeof array in c?

999


What are the differences between Structures and Arrays?

1152


What are bitwise shift operators in c programming?

1051


What are the 32 keywords in c?

1057