已知in是ifstream对象,则下列语句正确的是( )。
A、in.seekg(5);
B、in.seekg(5, ios::beg);
C、in.seekg(5, ios::end);
D、in.seekg(-5);