Skip to content

Instantly share code, notes, and snippets.

@sojohnnysaid
Created January 6, 2018 14:14
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save sojohnnysaid/cd0fa5f38f75730070bf14d4a4b0e8de to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void){
// example of the sizeof() operator
int num1 = 25;
printf("Size of num1 in bytes:\t%lu\n", sizeof(num1));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment