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

What is break in c?

1052


Can static variables be declared in a header file?

1066


Explain how can you determine the size of an allocated portion of memory?

1118


What functions are used in dynamic memory allocation in c?

1090


What is difference between arrays and pointers?

1083


praagnovation

2294


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1222


When is a null pointer used?

1122


How can I convert a number to a string?

1201


Is void a keyword in c?

991


Explain what are header files and explain what are its uses in c programming?

1161


What are operators in c?

1031


How will you write a code for accessing the length of an array without assigning it to another variable?

1059


What is equivalent to ++i+++j?

1097


Can an array be an Ivalue?

1102