In the below code -
#include<iostream>
#include<string>
using namespace std;
class my_string
{
string s;
public :
my_string(const string& s):s(s){ cout << s;}
};
int main()
{
my_string sa{"amruth"};
}
What is the address "amruth"
string that is passed into the constructor? Where does the address locate in stack data or code data?