Skip to content

Instantly share code, notes, and snippets.

@nscooling
Last active September 25, 2020 07:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nscooling/18c77f0f696ae9e095c6 to your computer and use it in GitHub Desktop.
Save nscooling/18c77f0f696ae9e095c6 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void)
{
unsigned short a = 65000;
unsigned short b = 540;
unsigned short c = 0;
c = a + b;
printf("Result is %hu + %hu = %hu\n", a, b, c);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment