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 |
What is the size of structure in c?
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
What are the types of macro formats?
#include<stdio.h> void main() { int a [5]; for (i=0; i<=4; i++) printf(ā%dā ,a[i]); }
What is the purpose of the preprocessor directive error?
How can I increase the allowable number of simultaneously open files?
simple program of graphics and their output display
Define recursion in c.
How do we print only part of a string in c?
why programming language C is still used in operating system's kernel??
Which weighs more, a gram of feathers or a gram of gold?
What is difference between && and & in c?