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

@Devvvv
every character has an ascii value..
it is not that only 0 - 9 has ascii values.. even 10 , 20
has ascii values.

each and every value has an ascii value..

comming back to the ques:
i think it will give the ascii value of 10...

Is This Answer Correct ?    3 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the primitive data types in c?

1089


What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?

1452


What does the c preprocessor do?

1119


Explain how does free() know explain how much memory to release?

1088


What is string length in c?

1115


Explain a file operation in C with an example.

1130


What is 1f in c?

2674


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

1983


How do you print an address?

1280


What is default value of global variable in c?

999


Is there sort function in c?

1029


why do some people write if(0 == x) instead of if(x == 0)?

1090


explain what are pointers?

1029


How can you avoid including a header more than once?

996


Are local variables initialized to zero by default in c?

1058