#include <iostream> void printA() { std::cout << "A" << std::endl; } void printB() { std::cout << "B" << std::endl; } void printAB() { printA(); printB(); } int main() { std::cout << "Starting main()..." << std::endl; printAB(); std::cout << "Ending main()..." << std::endl; return 0; }
时间: 2024-10-19 07:50:51