what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / akhila
result is 0.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
A banker has a seif with a cipher. Not to forget the cipher, he wants to write it coded as following: each digit to be replaced with the difference of 9 with the current digit. The banker chose a cipher. Decipher it knowing the cipher starts with a digit different than 9. I need to write a program that takes the cipher from the keyboard and prints the new cipher. I thought of the following: Take the input from the keyboard and put it into a string or an array. Go through the object with a for and for each digit other than the first, substract it from 9 and add it to another variable. Print the new variable. Theoretically I thought of it but I don't know much C. Could you give me any kind of hint, whether I am on the right track or not?
What is the use of void pointer and null pointer in c language?
What is this infamous null pointer, anyway?
what is the function of pragma directive in c?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is string constants?
What is difference between union All statement and Union?
Write a C program to help a HiFi’s Restaurant automate its breakfast billing system. Your assignment should implement the following items: a. Show the customer the different breakfast items offered by the HiFi’s Restaurant. b. Allow the customer to select more than one item from the menu. c. Calculate and print the bill to the customer. d. Produce a report to present your complete program and show more sample output. Assume that the HiFi’s Restaurant offers the following breakfast menu: Plain Egg $2.50 Bacon and Egg $3.45 Muffin $2.20 French Toast $2.95 Fruit Basket $3.45 Cereal $0.70 Coffee $1.50 Tea $1.80
write a programe to accept any two number and check the following condition using goto state ment.if a>b,print a & find whether it is even or odd and then print.and a
what is uses of .net
What is data structure in c and its types?
What is the advantage of using #define to declare a constant?
What is quick sort in c?
Explain how can you tell whether two strings are the same?
write a c program to find the sum of five entered numbers using an array named number