#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / kailas.s.patil
i = 2;
first ++i = 3.
second ++i = 4.
third i++ = 5;
now i =5;
then, j = 3 + 4 + 5 = 12
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
What is a rvalue?
What is the general form of function in c?
What are valid signatures for the Main function?
What is the use of function overloading in C?
What is function prototype in c language?
Is c is a low level language?
Is c++ based on c?
How can you read a directory in a C program?
What does c mean before a date?
Why #include is used in c language?
List the difference between a While & Do While loops?
Explain what is the most efficient way to store flag values?
Explain how many levels deep can include files be nested?
Why do we use int main instead of void main in c?
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.