What will be the output of the following code?
#indude <iostream>
#include <string
using namespace std;
int main()
{
string str ("Technical");
cout << str.length():
return 0
}
Answers
Answered by
1
Answer:
Output
9
Explanation: Since the number of characters in variable str is 9, so the output is 9.
Similar questions