Home / General Knowledge / Testing New :: Discussion

Discussion :: Testing New

  1. Which of the following statements are true after execution of the program.

    void main()

    {

    int a[10], i, *p;

    a[0] = 1;

    a[1] = 2;

    p = a;

    (*p)++;

    }

  2. A.

     a[1] = 3

    B.

     a[0] = 2

    C.

     a[1] = 2

    D.

     a[0] = 3

    E.

     Compilation error

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    Explanation Not Provided


Be The First To Comment