"boom!5" should be printed out because printf() returns an int equal to the number of characters printed to stdout (for more details visit C++ reference printf). std::cout is synchronized with the stdout, so "boom!" will be transfered to stdout first and "5" - after that (for more details visit
C++ reference ios_base::sync_with_stdio).
Ввійдіть щоб вподобати
Ввійдіть щоб прокоментувати