Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
hwk2
//gcc 5.4.0 #include <stdio.h> int main(void) { char char_in; int k; /* scanf("%c", &char_in); printf("%c", char_in); */ scanf("%x", &k); printf("\n%x", k); //printf("\n%x", k|0x000000f0); //printf("\n%x", k|0xf0); //k = (k | 0x000000F0); //printf ("\n%x", k); if((k&0x00000010) == 0x10 && (k&0x00000040) == 0) { printf("\nsuccess!"); } else { printf("\nfailed"); } return 0; }
run
|
edit
|
history
|
help
0
Simple Calculator v1.0
arrows
Even odd program
Area of the Cone
e
data types and printf
Stub Program for Problem 2 HW 2
Random by thread
-Wall
bit wise operation