#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}

Answer Posted / lebin

value of i is 5
value of j is 12

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

int i=10; printf("%d %d %d", i, i=20, i);

1006


When should a type cast not be used?

622


What is anagram in c?

512


What do you mean by dynamic memory allocation in c? What functions are used?

650


What is data types?

636






When the macros gets expanded?

780


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

683


how to make a scientific calculater ?

1561


what is use of malloc and calloc?

1380


What is pointer to pointer in c with example?

544


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

1654


Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1650


On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area

659


Explain what is the difference between null and nul?

650


If errno contains a nonzero number, is there an error?

798