執行 ❯
建立您
自己的
網站
×
更改方向
更改主題,深色/淺色
前往 Spaces
#include <stdio.h> // Global variable int x = 5; void myFunction() { printf("%d\n", ++x); // Increment the value of x by 1 and print it } int main() { myFunction(); printf("%d\n", x); // Print the global variable x return 0; }
6
6