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
What are the primitive data types in c?
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
What does the c preprocessor do?
Explain how does free() know explain how much memory to release?
What is string length in c?
Explain a file operation in C with an example.
What is 1f in c?
Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.
How do you print an address?
What is default value of global variable in c?
Is there sort function in c?
why do some people write if(0 == x) instead of if(x == 0)?
explain what are pointers?
How can you avoid including a header more than once?
Are local variables initialized to zero by default in c?