#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / nb
i = 2 (i dont change)
j = 6 (++i = 3 and in i++ increments after calculating j )
| Is This Answer Correct ? | 1 Yes | 6 No |
Post New Answer View All Answers
What do you know about the use of bit field?
When should I declare a function?
hi send me sample aptitude papers of cts?
What is echo in c programming?
Explain what is the difference between far and near ?
Why do we use static in c?
What is pointers in c?
c program to compute AREA under integral
What is struct node in c?
When I tried to go into a security sites I am denied access and a message appeared saying 'applet not initialize'. How can I rectify this problem.
write a program to find out prime number using sieve case?
using only #include
What is gets() function?
what will be the output for the following main() { printf("hi" "hello"); }
can we change the default calling convention in c if yes than how.........?