MCQOPTIONS
Saved Bookmarks
| 1. |
What will be output when you will execute following c code?#include void main()_x005F_x000D_ {   signed int a = -1;   unsigned int b = -1u;   if(a == b)        printf( "The Lord of the Rings" );   else        printf( "American Beauty" );} |
| A. | The Lord of the Rings |
| B. | American Beauty |
| C. | Compilation error: Cannot compare signed number with unsigned number |
| D. | Warning: Illegal operation |
| Answer» B. American Beauty | |