What will be output of the following “c” code?


Loading

โœช Choose the correct option.

What will be output of the following “c” code?


#include

void main() {

int i=-1,j=-1,k=0,l=2,m;

m = i++ && j++ && k++ || l++;

printf("%d %d %d %d %d",i,j,k,l,m);

}

A. 0 0 1 3 1
B. 1 1 0 2 0
C. 2 2 1 3 1
D. None of these