My issue
Why am I getting error and what is the correct code for it?
My code
#include <stdio.h>
#include <stdbool.h>
int main(void) {
bool x = true;
bool y = false;
printf("%s\n%s", x ? "true" : "false", y ? "true" : "false");
}
Learning course: CSEIPFOIA: Programming and Problem Solving
Problem Link: Bool Datatype Practice Problem in CSEIPFOIA: Programming and Problem Solving - CodeChef