Home / General Knowledge / Testing New :: Discussion

Discussion :: Testing New

  1. char *ptr;

    char myString[] = "abcdefg";

    ptr = myString;

    ptr += 5;

    what string does ptr point to in the sample code above?

  2. A.

     fg

    B.

     efg

    C.

     defg

    D.

     cdefg

    E.

     bcdefg

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    Explanation Not Provided


Be The First To Comment