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

Can we use any name in place of argv and argc as command line arguments?

602


How can I invoke another program (a standalone executable, or an operating system command) from within a c program?

647


What are the 5 data types?

592


How can I find the modification date of a file?

692


Explain can static variables be declared in a header file?

668






why we wont use '&' sing in aceesing the string using scanf

1776


What is the basic structure of c?

549


Why can't I perform arithmetic on a void* pointer?

630


What is header file in c?

597


What is the description for syntax errors?

606


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1627


Array is an lvalue or not?

627


The statement, int(*x[]) () what does in indicate?

638


can any one tel me wt is the question pattern for NIC exam

1551


What is this pointer in c plus plus?

586