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 |
write a program to swap two numbers without using temporary variable?
What is bash c?
How can I call a function, given its name as a string?
code for replace tabs with equivalent number of blanks
how to write optimum code to divide a 50 digit number with a 25 digit number??
Multiply an Integer Number by 2 Without Using Multiplication Operator
Can you explain the four storage classes in C?
WHO WROTE C LANGUAGE?
If 4 digits number is input through the keyboard, Write a program to calculate sum of its 1st & 4th digit.
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
What is the output for the below program? void main() { float me=1.1; double you=1.1; if(me==you) printf("love c"); else printf("know c"); }
what is the difference between #include<stdio.h> and #include"stdio.h" ?