"Hello.c"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
 
(다른 사용자 한 명의 중간 판 하나는 보이지 않습니다)
2번째 줄: 2번째 줄:
==개요==
==개요==
;hello.c
;hello.c
<source lang='c'>
<syntaxhighlight lang='c'>
#include <stdio.h>
#include <stdio.h>
int main() { printf("Hello World\n"); return 0; }
int main() { printf("Hello World\n"); return 0; }
</source>
</syntaxhighlight>
<source lang='c'>
<syntaxhighlight lang='c'>
#include <stdio.h>
#include <stdio.h>
int main()
int main()
13번째 줄: 13번째 줄:
     return 0;
     return 0;
}
}
</source>
</syntaxhighlight>
<source lang='c'>
<syntaxhighlight lang='c'>
#include "stdio.h"
#include "stdio.h"
int main(void) {
int main(void) {
20번째 줄: 20번째 줄:
   return 0;
   return 0;
}
}
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
26번째 줄: 26번째 줄:
* [[온라인 C 컴파일러]]
* [[온라인 C 컴파일러]]
* [[Hello World]]
* [[Hello World]]
* [[hello.cpp]]


[[분류: C]]
[[분류: C]]
[[분류: .c]]
[[분류: .c]]

2020년 11월 2일 (월) 02:41 기준 최신판

1 개요[ | ]

hello.c
#include <stdio.h>
int main() { printf("Hello World\n"); return 0; }
#include <stdio.h>
int main()
{
    printf("Hello, World!\n");
    return 0;
}
#include "stdio.h"
int main(void) {
  printf("Hello World\n");
  return 0;
}

2 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}