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...

char ch=10;printf("%d",ch);what is the output

Answer Posted / jj

answer is 49,a character constant can be one character
so ch=10----> here 1 is taken as character,in print
statement it is conv to ascii

Is This Answer Correct ?    0 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a pointer be null?

1036


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1410


Write a Program to accept different goods with the number, price and date of purchase and display them

6243


What is meant by realloc()?

1164


a c code by using memory allocation for add ,multiply of sprase matrixes

2813


Which is best book for data structures in c?

1098


What is the function of multilevel pointer in c?

1095


If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402

3925


What are the 32 keywords in c?

1094


Why is c called a structured programming language?

1287


Is it better to use malloc() or calloc()?

1124


What are the advantages and disadvantages of c language?

1020


What is the size of empty structure in c?

1090


what will be maximum number of comparisons when number of elements are given?

1911


Explain what is output redirection?

1203