Home / General Knowledge / Testing sawaal :: Discussion

Discussion :: Testing sawaal

  1. What would be the output of the following program ?

    main() 

    {

           unsigned  int a = oxffff;

            ~a;

            printf ("%x", a);

    }

  2. A.
    ffff
    B.
    0000
    C.
    00ff
    D.
    None of the above

    View Answer

    Workspace

    Answer : Option A

    Explanation :



Be The First To Comment