char ch=10;printf("%d",ch);what is the output
Answer Posted / jj
answer is 49,a character constant can be one character
so ch=10----> here 1 is taken as character,in print
statement it is conv to ascii
| Is This Answer Correct ? | 0 Yes | 9 No |
Post New Answer View All Answers
Can a pointer be null?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
Write a Program to accept different goods with the number, price and date of purchase and display them
What is meant by realloc()?
a c code by using memory allocation for add ,multiply of sprase matrixes
Which is best book for data structures in c?
What is the function of multilevel pointer in c?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What are the 32 keywords in c?
Why is c called a structured programming language?
Is it better to use malloc() or calloc()?
What are the advantages and disadvantages of c language?
What is the size of empty structure in c?
what will be maximum number of comparisons when number of elements are given?
Explain what is output redirection?