Computer Science, asked by karthikeyanINDIAN, 2 days ago

C++ language Simple problem:

#include
int main()
{
int i=3;
i = i++;
printf("%d\n", i);
return 0;
}

I got 3 as answer instead of 4 why ?
i got incrimented during evaluatio ryt ?

Answers

Answered by daniasaman485
0

Answer:

Hope it helps you ❤️

Mark me as Brainliest

Explanation:

In a C program, all lines that start with # are processed by preprocessor which is a special program invoked by the compiler.

Similar questions