file.open("1.txt");
file.seekp(pos,ios::beg);
getline(file,temp);
file.close();
i ve this small code where temp is string data type.
suppose the value of pos points to a location yet to be filled with data, what would be the value stored in temp?
is it NULL?
temp is not been initialised by any value earlier.