Home / General Knowledge / Testing New :: Discussion

Discussion :: Testing New

  1. Find the output of the following program.

    void main()

    {

    char *msg = "hi";

    printf(msg);

    }

  2. A.

     hi

    B.

     h

    C.

     hi followed by garbage value

    D.

     Error

    E.

     Garbage Value

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Explanation Not Provided


Be The First To Comment