fork(1) download
  1. /* ここがコメント行になります。
  2.   複数行になってもok
  3.   プログラムの説明を書いておきます。
  4.   Helloプログラム */
  5.  
  6. #include <stdio.h>
  7.  
  8. main()
  9. {
  10. int year;
  11. int month;
  12. int day;
  13.  
  14. year = 2025;
  15. month = 5;
  16. day = 12;
  17.  
  18. printf("今日は %d 年 %d 月 %d 日です。\n", year, month, day );
  19. }
  20.  
  21.  
Success #stdin #stdout 0s 5308KB
stdin
Standard input is empty
stdout
今日は 2025 年 5 月 12 日です。