#include<stdio.h>
int main()
{
int i=2;
int j=++i + ++i + i++;
printf("%d\n",i);
printf("%d\n",j);
}
Answer Posted / gaurav
Please use gcc compiler....u will get answer 1,i.e. 5 and 12
| Is This Answer Correct ? | 10 Yes | 3 No |
Post New Answer View All Answers
pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)
Does c have circular shift operators?
What is integer constants?
Array is an lvalue or not?
Explain what header files do I need in order to define the standard library functions I use?
Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff
what is ur strangth & weekness
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
please explain every phase in the "SDLC" in the dotnet.
What is the difference between break and continue?
Explain union.
If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.
what is the difference between 123 and 0123 in c?
What are bitwise shift operators in c programming?
Multiply an Integer Number by 2 Without Using Multiplication Operator