#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
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group.
What is data structure in c and its types?
Which one to choose from 'initialization lists' or 'assignment', for the use in the constructor?
What is the use of clrscr?
Should a function contain a return statement if it does not return a value?
Under what circumstances does a name clash occur?
How can I change the size of the dynamically allocated array?
What is the mean of function?
Explain how do you determine whether to use a stream function or a low-level function?
What is n in c?
What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file
What does void main return?
What are the ways to a null pointer can use in c programming language?
Implement bit Array in C.
Which programming language is best for getting job 2020?