Mega Code Archive

 
Categories / C / Code Snippets
 

Use and

#include <stdio.h> int main() { int x, y; /* two integers */ x = 4; y = 2; if ((x != 0) && (y != 0)) printf("Both are not zero\n"); return (0); }