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 |
sqrt(x+sqrt(x+sqrt(x+sqrt(x))))=2; Find the value of x?
There are 21 people in a room. They have to form groups of 3 people each. How many combinations are possible? Write a C program to print the same.
Once I have used freopen, how can I get the original stdout (or stdin) back?
create an SINGLE LINKED LISTS and reverse the data in the lists completely
1.write a program to merge the arrays 2.write efficient code for extracting unique elements from a sorted list of array?
how to compare two strings without using strcmp() function??
24.what is a void pointer? 25.why arithmetic operation can’t be performed on a void pointer? 26.differentiate between const char *a; char *const a; and char const *a; 27.compare array with pointer? 28.what is a NULL pointer? 29.what does ‘segmentation violation’ mean? 30.what does ‘Bus Error’ mean? 31.Define function pointers? 32.How do you initialize function pointers? Give an example? 33.where can function pointers be used?
What is a list in c?
What is the total generic pointer type?
What does the c in ctime mean?
What are multidimensional arrays?
input may any number except 1,output will always 1.. conditions only one variable should be declare,don't use operators,expressions,array,structure