adplus-dvertising
frame-decoration

Question

What is the output of C Program?
int main()
{
    int a=5, b=8;
    
    if( a==5 && (b=9) )
    {
        printf("Gorilla Glass=");
    }
    printf("%d %d", a, b);

    return 0;
}

a.

5 8

b.

5 9

c.

Gorilla Glass=5 8

d.

Gorilla Glass=5 9

Posted under C Programming

Answer: (d).Gorilla Glass=5 9

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of C Program?