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

`write a program to display the recomended action depends on a color of trafic light using nested if statments

1931


What does int main () mean?

810


Where in memory are my variables stored?

892


What is the purpose of 'register' keyword?

925


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

861


What is extern keyword in c?

921


List a few unconditional control statement in c.

799


How do you determine a file’s attributes?

847


What does malloc () calloc () realloc () free () do?

829


I have written a pro*C program to fetch data from the cursor. where in i have used the concept of BULK FETCH.... each FETCH statement is taking lots of time to fetch specified number of rows at...

9979


Are the variables argc and argv are always local to main?

821


What are terms in math?

831


What is #line?

844


What is volatile variable how do you declare it?

814


Is it possible to pass an entire structure to functions?

799