jeudi 6 juin 2019

What will be the output of this code as this code is giving me a blank output and how come this can be true?

Since here in my code a and b are not equal to 0, therefore the answer must be Bye. But the output i am receiving is nothing. Please help

#include<stdio.h>
main(){
    int a=1, b=1;
    if(a==0)
        if(b==0){
            printf("HI");
        } else {
            printf("Bye");
        }
}

Aucun commentaire:

Enregistrer un commentaire