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

p*=(++q)++*--p when p=q=1 while(q<=6)

1269


What is console in c language?

611


what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?

1907


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

618


What are types of preprocessor in c?

621






List some of the static data structures in C?

763


What are the applications of c language?

627


Do character constants represent numerical values?

845


c language interview questions & answer

1464


What are shell structures used for?

603


Hi can anyone tell what is a start up code?

1617


What are pointers?

635


What is the difference between the expression “++a” and “a++”?

651


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

816


How do you define structure?

568