Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
some_tests
//gcc 5.4.0 #include <stdio.h> #define message_for(a, b) \ printf("\n" #a " and " #b ": We love you!\n") #define tokenpaster(n) printf("\ntoken" #n " = %d", token##n) struct packed_struct { unsigned int f1:1; unsigned int f2:1; unsigned int f3:1; unsigned int f4:1; unsigned int type:4; unsigned int my_int:14; } pack; int main(void) { register int a = 10; int b = ~a; double d[5] = {2.5, 2.6, 3.1, 2, 4}; double *dd = d; long long LL = 100; // sizeof(LL) = 8 char greeting[5] = {'H', 'e', 'l', 'l', 'o'}; //printf(\n"%s",greeting); //printf("\n%d %d",sizeof(pack), __STDC__); message_for(3,4); int tokenA = 40; int tokenB = 50; tokenpaster(B); printf("\n%d",sizeof(LL)); return 0; }
run
|
edit
|
history
|
help
0
141122_PI6
Command Expressions in Gnu C: What's the value of a loop? void!
date diff sample
squareifnal
edmond@DESKTOP-M2BC2LH
c union bytes affected
LECTURA DE CADENAS CON FGETS
Lp
structt
shapes and such