IT/c_cpp
Modern C 에서는 bool 타입의 활용이 가능하다.
가능성1g
2023. 2. 3. 00:43
반응형
stdbool.h 를 include 하면 활용가능!
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
int main(void){
bool test = true;
if(test){
printf("TRUE");
}
return EXIT_SUCCESS;
}
반응형