Skip to content

Instantly share code, notes, and snippets.

@Chelsea486MHz
Created June 25, 2017 18:50
Show Gist options
  • Select an option

  • Save Chelsea486MHz/e5370ed7cc3dd93b179ed8ac46c89373 to your computer and use it in GitHub Desktop.

Select an option

Save Chelsea486MHz/e5370ed7cc3dd93b179ed8ac46c89373 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#define NUM0 5
#define NUM1 7
int main(void)
{
int32_t num[2];
num[0] = NUM0;
num[1] = NUM1;
if (num[0]^[num[1])
print("a is equal to b\n")
else
a < b ? { printf("a is lesser than b\n") } : { printf("a is greater than b") };
return (EXIT_SUCCESS);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment