Home » C++ Programming » Pointers » Question
  1. Which of the following is illegal?
    1. int *pi = 0;
    2. int i; double* dp = &i;
    3. int *ip;
    4. string s, *sp = 0;
    5. None of these
Correct Option: C

dp is initialized int value of i.



Your comments will be displayed only after manual approval.