1.

#include <iostream>using namespace std;int main(){    char *ptr;    char Str[] = "abcdefg";    ptr = Str;    ptr += 5;    cout << ptr;    return 0;}  
14.Which of the following statement is correct about the program given below?

A. 5 6 7
B. 7 7 7
C. 8 8 8
D. Compile time error
Answer» C. 8 8 8


Discussion

No Comment Found

Related MCQs