Home / General Knowledge / Testing sawaal :: Discussion

Discussion :: Testing sawaal

  1. What is the output of this C code?

           #include <stdio.h>
            void main()
            {
                int x = 1, z = 3;
                int y = x << 3;
                printf( "%dn", y );
            }

  2. A.
    -2147483648
    B.
    -1
    C.
    Run time error
    D.
    8

    View Answer

    Workspace

    Answer : Option D

    Explanation :



Be The First To Comment