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
Submitted by: Murtazac) both a) and b)
Submitted by: Murtaza
Submitted by: Murtaza
Read Online C++ New And Delete Job Interview Questions And Answers
Top C++ New And Delete Questions
☺ | Explain realloc()? |
☺ | Explain the difference between realloc() and free()? |
☺ | What is new operator and delete operator? |
☺ | What is dynamic memory management for array? |
☺ | You can use C++ as a procedural, as well as an object-oriented language? |
Top C Plus Plus Language Categories
☺ | C++ Pointers & Functions Interview Questions. |
☺ | C++ Operator Overloading Interview Questions. |
☺ | C++ Exception Handling Interview Questions. |
☺ | C++ Virtual Functions Interview Questions. |
☺ | C++ Template Interview Questions. |