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
how to find anagram without using string functions using only loops in c programming
Under what circumstances does a name clash occur?
What is the use of #include in c?
write an algorithm to display a square matrix.
where are auto variables stored? What are the characteristics of an auto variable?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
write a program in C that prompts the user for today's date,tomorrow's date and display the results.Use structures for today's date,tomorrow's date and an array to hold the days for each month of the year.
What does node * mean?
List some of the dynamic data structures in C?
What is wrong in this statement?
What is oops c?
What is the difference between if else and switchstatement
How can you restore a redirected standard stream?
What is storage class?
What are linker error?