You are viewing a single comment's thread. Return to all comments →
It is an integer, there's no 'real' boolean in C.
Take a look at the output of:
#include <stdio.h> int main(void) { printf("%d %d\n", 1==1, 2==1); return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Compare two linked lists
You are viewing a single comment's thread. Return to all comments →
It is an integer, there's no 'real' boolean in C.
Take a look at the output of: