CPP > Random > Beginner Next/Skip this question

What will be the output of following method using string class lengh method?

#include <iostream>
#include <cstring>// for string manipulation
#include <string>// for string manipulation

using namespace std;

int main () {
    string s = "this is c++";
    cout<< s.length();
    return 0;
}
Answers :
social share share on facebook share on twitter share on google plus share on linkedin
Add Comments :

Login

Register

Next Question