C++ New And Delete Question:
Download Questions PDF

Individual characters in a string are accessed as following:

a) cout << S.at(i);
b) cout << S[i];
c) both a) and b)
d) None


c) both a) and b)

Download C++ New And Delete Interview Questions And Answers PDF

Previous QuestionNext Question
In C++ if program executed successfully, following value will be returned to the calling process, if nothing specified in return statement?

a) 0
b) 1
c) -1
d) 2
Which of the following keyword is not used in exception handling:

a) Try
b) allow
c) Catch
d) Throw