#include <iostream>
#include <vector>
#include <cstring>
#include <string>

void consta(){
    std::cout<<"const called"<<std::endl;
}

class constclass{
    public:
        constclass(){
            std::cout<<"im constclass"<<std::endl;
        }
};

int main() {
    std::vector<std::string> str;

    str.push_back("adarsh");
    str.push_back("new");

    for(int i=0;i<2;i++){
        std::cout<<str[i]<<std::endl;    
    }

    consta();

    constclass a1,a2;
    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: