char ch=10;printf("%d",ch);what is the output
Answers were Sorted based on User's Feedback
Answer / 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 | 8 No |
Answer / 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 |
Answer / kalpana.y
There will be no output
because, in printf statement it is declared in %d
%d is integer variable
%s should be declared
| Is This Answer Correct ? | 0 Yes | 10 No |
Answer / 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 | 10 No |
Is c call by value?
main() { float f1=10.5; double db1=10.5 if(f1==db1) printf("a"); else printf("b") }
How are Structure passing and returning implemented by the complier?
What are the types of operators in c?
Why header files are used?
Given an unsigned integer, find if the number is power of 2?
Why data types in all programming languages have some range? Why ritche have disigned first time likethat?Why not a single data type can support all other types?
what is the c source code for the below output? 1 0 1 1 0 1 0 1 0 1 1 0 1 0 1
What are the different pointer models in c?
What are the advantages and disadvantages of a heap?
Describe wild pointers in c?
Explain how do you convert strings to numbers in c?