say the following declaration is correct nr not.
int b=a,n=0;
Answer Posted / sandhiya19937
correct
| Is This Answer Correct ? | 13 Yes | 8 No |
Post New Answer View All Answers
What is the purpose of void pointer?
What does %p mean?
What is the difference between pure virtual function and virtual function?
Is Exception handling possible in c language?
Explain the difference between ++u and u++?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Which are low level languages?
What is calloc malloc realloc in c?
A float occupies 4 bytes in memory. How many bits are used to store exponent part? since we can have up to 38 number for exponent so 2 ki power 6 6, 6 bits will be used. If 6 bits are used why do not we have up to 64 numbers in exponent?
What is dynamic memory allocation?
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 are identifiers and keywords in c?
When is the “void” keyword used in a function?
Why we use conio h in c?
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?