Turncoat 300!!

Computer Science Level pending

What will the output of this code when run on the Turbo C compiler?

1
2
3
4
5
6
void main{

    int a = 300 * 300 / 300;
    printf("%d", a);

}

Details

  • The Turbo C compiler uses 16 bit int.
×

Problem Loading...

Note Loading...

Set Loading...