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

Explain the advantages and disadvantages of macros.

861


Does c have enums?

799


What is equivalent to ++i+++j?

875


How do you declare a variable that will hold string values?

941


List some basic data types in c?

780


How do you view the path?

904


What is nested structure with example?

833


One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.

2431


Where static variables are stored in memory in c?

754


Explain what are its uses in c programming?

815


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

1877


any limit on the number of functions that might be present in a C program a) max 35 functions b) max 50 functions c) no limit d) none of the above

842


#include { printf("Hello"); } how compile time affects when we add additional header file .

1680


What is the explanation for modular programming?

927


What header files do I need in order to define the standard library functions I use?

774