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

variable ch is of character type and nothing is assigned
to it where as 'a' is of interger type.

In the printf statement we are placing variable 'ch' along
with %d which will display a garbage value.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What could possibly be the problem if a valid function name such as tolower() is being reported by the C compiler as undefined?

1330


How to write c functions that modify head pointer of a linked list?

1032


Explain what are the __date__ and __time__ preprocessor commands?

1158


Explain how can I open a file so that other programs can update it at the same time?

1184


"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks

1156


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1289


What does the file stdio.h contain?

1119


What is the difference between array_name and &array_name?

1352


What are the c keywords?

1255


please give me some tips for the placement in the TCS.

2155


What is the use of in c?

1085


What language is lisp written in?

1325


how to introdu5ce my self in serco

2049


diff between exptected result and requirement?

2114


What is #define size in c?

1267