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

what will be the output:
main(){char ch;int a=10;printf("%d",ch);}

Answer Posted / bharath s

The answer is Garbage value...
The answer willbe lik -113...Depending upon the compailer
If we declare as..
static char ch;
Then Answer is 0.....

Is This Answer Correct ?    21 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the c language function prototype?

1086


Explain what are the standard predefined macros?

1120


Can the size of an array be declared at runtime?

1088


How can I get random integers in a certain range?

1067


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1994


a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above

1231


Is printf a keyword?

1203


How can I do peek and poke in c?

1080


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

2294


What are the 4 types of organizational structures?

1106


What is pragma c?

1122


What are pointers really good for, anyway?

1066


What is getch() function?

1067


How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?

1035


An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode

1091