Skip to content

Instantly share code, notes, and snippets.

@moh-slimani
Created October 28, 2017 19:36
Show Gist options
  • Save moh-slimani/91ec0a3ebabe68fd20a55901b408b4d4 to your computer and use it in GitHub Desktop.
Save moh-slimani/91ec0a3ebabe68fd20a55901b408b4d4 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a = 2;
int b = 1;
if( a > b){
printf("a is bigger then b");
}else{
if( a == b){
printf("a is equal to b");
}else{
printf("a is smaller then b");
}
}
return 0;
}
#include <stdio.h>
#include <stdlib.h>
int main()
{
int a = 1>2;
int b = 1<2;
printf("%d %d",a,b);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment