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 / kalpana.y


There will be no output

because,in printf statement the integer variable is

declared but 'ch' is assinged.it should be 'a' insted
of 'ch'.

Is This Answer Correct ?    5 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how do you print an address?

1099


Is it cc or c in a letter?

973


What is the purpose of scanf() and printf() functions?

1188


What is a 'null pointer assignment' error?

1179


What is page thrashing?

1035


Write a progarm to find the length of string using switch case?

2041


What is an array in c?

1008


Should I learn c before c++?

1184


What is dynamic dispatch in c++?

1015


What is the best organizational structure?

1072


What is void main () in c?

1160


to find the closest pair

2294


Can you return null in c?

1106


How can I change their mode to binary?

1067


the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above

1001