what is the output of below
int n=10;
(n++)++;
printf("%d",n);
Answer Posted / kirankumaryakkala
ans. error:Lvalue required
why? Lvalue means leftside assignment value,
here, first it goes to increment on N, again it is going to
increment, before going to increment second time, you should
allocate one varibale that holds the first time increment
value, other wise from where to it increment...
| Is This Answer Correct ? | 11 Yes | 1 No |
Post New Answer View All Answers
Why cant I open a file by its explicit path?
Hai what is the different types of versions and their differences
What is difference between %d and %i in c?
What are dangling pointers in c?
Difference between Function to pointer and pointer to function
What is the purpose of ftell?
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
How can a program be made to print the line number where an error occurs?
Explain what is the difference between the expression '++a' and 'a++'?
What is extern variable in c with example?
Why is c called "mother" language?
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is f'n in math?
What is the use of #define preprocessor in c?
What does 2n 4c mean?