Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
bit shift and mask
//gcc 7.4.0 #include <stdlib.h> #include <stdarg.h> #include <stdio.h> #include <float.h> int main(void) { float vout = 0; unsigned int v = 0; unsigned int data = 0; float dummy = 0; vout = 20.47; v = (vout / 100.0); data = v; dummy = vout / 100.0; printf("Vout = %2.2f v = %u data = [0x%4X] \r\n", vout, v, data); printf("dummy = %2.2f \r\n", dummy); return 0; }
run
|
edit
|
history
|
help
0
tyiy
recurs fibo1
B_141121_fibonacci
coding!!Woo!!
1.c
void *
Bitwise Operations
fgets and basic string manipulation
WAP in C to print the reverse of a string
B_141202_CONTADORPALABRAS