[C언어] exit(0) 와 exit(1) 차이

dusruddl2·2023년 10월 19일
#include<stdlib.h>

stdlib 헤더파일에 포함되어 있는 exit함수

  • exit(1): 에러 종료
  • exit(0): 정상 종료
profile
정리된 글은 https://dusruddl2.tistory.com/로 이동

0개의 댓글