All quizzes
C++IntroPredict the output

What does this program print?

#include <iostream>
int main() {
    int a = 7, b = 2;
    std::cout << a / b << " "
              << static_cast<double>(a) / b << std::endl;
}