#include <stdio.h>
#include <stdbool.h>

int main() {

  bool b1 = true;

  if(b1==true){
    printf("참\n");
  }
  bool b2 = false;
  if(b2==false){
    printf("거짓\n");
  }
  
  return 0;
}

 

bool -> true, false

'전공부셔 > c' 카테고리의 다른 글

정렬  (0) 2023.02.26
[프로그래머스] 숨어있는 숫자의 덧셈 (1)  (0) 2023.02.26
배열 원소 개수  (0) 2023.02.26
[프로그래머스] 문자열 뒤집기  (0) 2023.02.26
size_t, unsigned int 차이  (0) 2023.02.26

+ Recent posts