Join ExamsbookAnswer :
What would be the output of the following program?
main()
{
int i = -3, j =2, k =0, m ;
m = ++j && ++i || ++k ;
Printf ( "\n%d%d%d%d", i , j , k , m );
}5
Q: What would be the output of the following program? main() { int i = -3, j =2, k =0, m ; m = ++j && ++i || ++k ; Printf ( "\n%d%d%d%d", i , j , k , m ); }
- Show AnswerHide Answer
- Workspace
Answer :
Explanation :
-2 3 0 1