-
-
Save nefanov/3f3993c0b515c1903820baec806dae84 to your computer and use it in GitHub Desktop.
C_intro_quizz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
int main(void) | |
{ | |
uint16_t x = 1; /* 0x0001 */ | |
printf("%s\n", *((uint8_t *) &x) == 0 ? "1" : "0"); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment