#include <stdio.h>
#include <stdbool.h>
typedef enum{
False,
True
}Bool;
int main(int argc, char const *argv[])
{
int a = 1, d = 1;
Bool b = False, c = True;
Bool ans;
if (a == d)
{
ans = c;
}
else
{
ans = b;
}
printf("The answer is: %i \n", ans);
return 0;
}
I think it is only returning the execution result 0 or 1. I want it to return the values from the enum which I created.