主页
C++
C++ 函数
demo_functions_opt
运行 ❯
×
更改方向
保存代码
更改主题
#include
using namespace std; // Function declaration void myFunction(); // The main method int main() { myFunction(); // call the function return 0; } // Function definition void myFunction() { cout << "I just got executed!"; }
I just got executed!