#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / rajesh kumar mahto
i=5 and j=11 (100% correct answer)
this is because
j=5+4+2(right to left execution)
i=5 due to latest updation of i.
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
#define MAX(x,y) (x) >(y)?(x):(y) main() { inti=10,j=5,k=0; k= MAX(i++,++j); printf("%d..%d..%d",i,j,k); }
Write a program to find factorial of a number using recursive function.
Draw a flowchart to produce a printed list of all the students over the age of 20 in a class .The input records contains the name and age of students. Assume a sentinel value of 99 for the age field of the trailer record
Differentiate between calloc and malloc.
What is the best way of making my program efficient?
What is the difference between declaring a variable by constant keyword and #define ing that variable?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What is the best way to comment out a section of code that contains comments?
Is c object oriented?
What are the advantages of using Unions?
Disadvantages of C language.
What is f'n in math?
What is the maximum length of an identifier?
What is c language and why we use it?
Write a program to print fibonacci series without using recursion?