What will be output when you will execute following c code?#include void main(){    signed int a = -1;    unsigned int b = -1u;    if(a == b)         printf( 'The Lord of the Rings' );    else         printf( 'American Beauty' );} - Study24x7
Social learning Network
study24x7

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
45 followers study24x7 10 Dec 2020 03:01 PM study24x7 study24x7

What will be output when you will execute following c code?
#include <stdio.h>
void main(){
    signed int a = -1;
    unsigned int b = -1u;
    if(a == b)
         printf...

See more

A

The Lord of the Rings

B

American Beauty

C

Compilation error: Cannot compare signed number with unsigned number

D

Warning: Illegal operation

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles