Skip to content
Snippets Groups Projects
Commit 4907bef7 authored by LEESANGKYEONG's avatar LEESANGKYEONG
Browse files

Second HW

parents
Branches
No related tags found
No related merge requests found
func.c 0 → 100644
// func.c file
#include <stdio.h>
#include "func.h"
int func_name_or_id(){
#ifdef PRINT_ID
printf("201723267\n");
return 0;
#else
printf("LEESANGKYEONG\n");
return 1;
#endif
}
func.h 0 → 100644
// func.h file
extern int func_name_or_id();
File added
main.c 0 → 100644
// main.c
#include <stdio.h>
#include "func.h"
int main(){
printf("%d\n", func_name_or_id());
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment