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

I think it prints some garbage value. if ch was initialised
then it would have printed the ASCII value of that charecter

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is sorting in c plus plus?

923


How can I sort a linked list?

969


Explain what is the benefit of using enum to declare a constant?

1019


What is #include conio h?

942


how could explain about job profile

1856


how to execute a program using if else condition and the output should enter number and the number is odd only...

2205


Is boolean a datatype in c?

1010


how to find anagram without using string functions using only loops in c programming

3132


What are near, far and huge pointers?

1012


What is void main () in c?

1150


What is the data segment that is followed by c?

1031


Is fortran faster than c?

982


Explain how can I avoid the abort, retry, fail messages?

989


List the difference between a 'copy constructor' and a 'assignment operator' in C?

1032


Tell me when is a void pointer used?

1102