#include <iostream> #include <string> using namespace std; int main() { string s1; s1 = "dasda"; //1 cout << s1 << endl; //2 cout << s1[2] << endl; //3 s1 = 'a'; //4 s1 = &s1; //5 return 0; }
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment