MURALI R
What is the output of the following statement?#include main() {printf('%d', -1<1 ); }
By MURALI R in C, C++, MFC on Aug 31 2016
  • GuruNadh07 GuruNadh07
    Jan, 2018 24

    1

    • 1
  • Mukesh Kumar
    Aug, 2017 29

    1

    • 1
  • Purushottam Prabhakar
    Aug, 2017 10

    1 will be the output.

    • 1
  • Purushottam Prabhakar
    Aug, 2017 10

    1 will be the output.

    • 1
  • Hari Manoharan
    Apr, 2017 8

    False will be the Output!

    • 1
  • MURALI R
    Aug, 2016 31

    ans: -2A negative number stored in two’s compliment of positive number. After shifting we get 1110, which is equivalent to -2.

    • 1


Most Popular Job Functions


MOST LIKED QUESTIONS