Skip to content

Instantly share code, notes, and snippets.

@ldmsys
Created December 25, 2022 04:43
Show Gist options
  • Save ldmsys/c2230b891331cba19513b99d1d0b8065 to your computer and use it in GitHub Desktop.
Save ldmsys/c2230b891331cba19513b99d1d0b8065 to your computer and use it in GitHub Desktop.
요약: 혼종
#include <stdio.h>
#include <stdarg.h>
#define 반환 return
#define 개행 "\n"
typedef int 정수;
typedef char 문자;
typedef const char 고정문자;
int 주();
int main() {return 주();}
정수 출력(고정문자* 형식, ...) { 정수 임시; va_list ap; va_start(ap, 형식); 임시 = vprintf(형식, ap); va_end(ap); return 임시;};
/* 여기 위까지는 못본척 합시다? ^^ */
정수 주() {
출력("안녕하시오, 세상!" 개행);
반환 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment