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 many key words availabel in c a) 28 b) 31 c) 32
What is the heap in c?
Can you define which header file to include at compile time?
What are the advantages of c preprocessor?
What is the difference between malloc() and calloc()?
What are disadvantages of C language.
What is cohesion in c?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
How can I write a function analogous to scanf?
What is void c?
In C language, the variables NAME, name, and Name are all the same. TRUE or FALSE?
What are variables c?
What is sizeof int in c?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.