Code:
#include <iostream>
#include <string>
#include <vector>
using namespace std;
void size(string* const pword); //to few parameters??
int main()
{
cout << "Insert a word : " << endl;
string word;
cin >> word;
string* const pword = &word;
size();
int ask;
cin >> ask;
return 0;
}
void size(string* const pword)
{
cout << &(word->size()) << endl;
}
