madina060 madina060 03-11-2018 Computers and Technology contestada What does the int size = sizeof buffer / sizeof * buffer means ? Thank you. #include #include #include using namespace std; int main() { ifstream myfile("ai.txt"); string line, buffer[10]; int size = sizeof buffer / sizeof *buffer; int i = 0; while ( getline(myfile, line) ) { buffer[i] = line; if ( ++i >= size ) { i = 0; } } for ( int j = 0; j < size; j++ ) { cout << buffer[i] << "\n"; if ( ++i >= size ) { i = 0; } } return 0; }