#include <iostream> #include <string> int main() { std::string str = "SAND_TWATI"; std::cout<<str<<std::endl; str.pop_back(); for(int i = 0; i <str.size() ; i++) { std::cout<<str[i]; } return 0; }