Home » C++ Programming » Data Types » Question
  1. Choose the right option
    string* p, q;

    1. q is a pointer to a string, p is a string
    2. both p and q are pointers to string types
    3. p is a pointer to a string, q is a string
    4. All of above
    5. None of these
Correct Option: C

* is to be grouped with the variables, not the data types.



Your comments will be displayed only after manual approval.