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 |
Explain what are the standard predefined macros?
What is the method to save data in stack data structure type?
pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)
Can a pointer be static?
What is the most efficient way to count the number of bits which are set in a value?
How does memset() work in C?
in one file global variable int i; is declared as static. In another file it is extern int i=100; Is this valid ?
Explain how do you view the path?
What is the OOPs concept?
What is #line in c?
How do you generate random numbers in C?
what is difference between C and C++