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 |
How can I read and write comma-delimited text?
Can you think of a logic behind the game minesweeper.
Given an array of length N containing integers between 1 and N, determine if it contains any duplicates.
shorting algorithmS
any function have arguments one or more OR not . it is compulsary a) any function compulsary have one or more arguments b) any function did not have arguments. It is not compulsary c) it is optional it is not compulsary d) none of the above
What is indirection?
Explain what are linked list?
Write a program to check prime number in c programming?
how can i get the string which is having two spaces at the end.suppose the string is "Hello World ".Now at the end i have two spaces.i need to print with that spaces .
array contains zeros and ones as elements.we need to bring zeros one side and one other side in single parse. ex:a[]={0,0,1,0,1,1,0,0} o/p={0,0,0,0,0,1,1,1}
Why is c so important?
What is the sizeof () operator?