char ch=10;printf("%d",ch);what is the output
Answer Posted / 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 |
Post New Answer View All Answers
a number whose only prime factors are 2,3,5, and 7 is call humble number,,write a program to find and display the nth element in this sequence.. sample input : 2,3,4,11,12,13, and 100.. sample output : the 2nd humble number is 2,the 3rd humble number is 3,the 4th humble number is ,the 11th humble number is 12, the 12th humble number is 14, the 13th humble number is 15, the 100th humble number is 450.
what is use of malloc and calloc?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
Which are low level languages?
in iso what are the common technological language?
What is difference between structure and union with example?
Explain how can I read and write comma-delimited text?
What is scope rule in c?
How can you return multiple values from a function?
Explain what are bus errors, memory faults, and core dumps?
how to print electricity bill according to following charges first 100 units -1rs per unit for next 200 units-1.50 rs per unit without using conditions
What is sizeof c?
Explain what’s a signal? Explain what do I use signals for?
What is wrong with this declaration?