Discussion :: Testing New
-
Determine Output:
void main()
{
int i=i++, j=j++, k=k++;
printf("%d %d %d", i, j, k);
}
Answer : Option C
Explanation :
An identifier is available to use in program code from the point of its declaration. So expressions such as i = i++ are valid statements. The i, j and k are automatic variables and so they contain some garbage value.
Be The First To Comment