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

It gives compilation warning but not Error.
While running ,gives Run time check error and prints some
garbage value.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

In which language linux is written?

1184


What do you mean by command line argument?

1111


Can you define which header file to include at compile time?

993


"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

1072


In C programming, what command or code can be used to determine if a number of odd or even?

1007


Why flag is used in c?

1082


while initialization of array why we use a[][2] why not a[2][]...?

2317


What is a stream in c programming?

1099


How can I read/write structures from/to data files?

933


What is a memory leak? How to avoid it?

1273


In C language, a variable name cannot contain?

1235


What is indirection in c?

1035


What is the Purpose of 'extern' keyword in a function declaration?

1043


Explain what is gets() function?

1022


How will you delete a node in DLL?

1240