Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Run code before/after main in C (GCC)
#include <stdio.h> void __attribute__ ((constructor)) premain() { puts("premain()"); } void __attribute__ ((destructor)) postmain() { puts("postmain()"); } int main(int argc, char *argv[]) { puts("main()"); return 0; }
run
|
edit
|
history
|
help
1
Please
log in
to post a comment.
recursive
22
Binary to Integer (C)
pointer**
fgets and basic string manipulation
dcl
150108_RecursividadFibonacci
150112_FuncionesOrdenArray
Prime
CheckProcessorEndianness
Please log in to post a comment.