I have been coding from a long time though I'm still a student programmer/ I'm usually good at programming but when questions like the one below are asked I get stuck. What will be the output and why of the following program?
int main() 
    {
        int i=4,j=-1,k=0,w,x,y,z;
        w=i||j||k;
        print("%d",w);
        return 0;
    }
output:
1
why this result? what does the statement w=||j||k; means?
 
     
     
     
    