A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. Consider the following statements
char *ptr;
ptr = “hello”;
cout << *ptr;
What will be printed?
a. first letter
b. entire string
c. it is a syntax error
d. last letter
Answer:first letter
Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here