what is the output of below
int n=10;
(n++)++;
printf("%d",n);
Answer Posted / abhijeet kankani
L-value required
Is This Answer Correct ? | 22 Yes | 1 No |
Post New Answer View All Answers
What is a void pointer in c?
Can we assign integer value to char in c?
What is indirection in c?
What does typeof return in c?
Explain the priority queues?
What is wild pointer in c?
I need testPalindrome and removeSpace
#include
Is there any data type in c with variable size?
Explain how many levels deep can include files be nested?
Explain the use of #pragma exit?
Should a function contain a return statement if it does not return a value?
The difference between printf and fprintf is ?
What are register variables? What are the advantage of using register variables?
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?
Explain function?