Home / CSE MCQs / C++ - MCQs :: Discussion

Discussion :: C++ - MCQs

  1. Which of the following is illegal?
  2. A.
    int *ip;
    B.
    string s, *sp = 0;
    C.
    int i; double* dp = &i;
    D.
    int *pi = 0;

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    dp is initialized int value of i.


Be The First To Comment