Run Code
|
API
|
Code Wall
|
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
Test 2
shapes and such
example of scanf and basic integer manipulation
Assignment 8
problemapi2
If Statements/Increments V1
z is 7
Stub Program for Problem 3 HW 2
ej 2 c3
tst2.c