Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
What happens if you do a system() in rextester...
//By Daniel #include <stdio.h> #include <stdlib.h> #include <time.h> int main(){ time_t sec; time(&sec); printf("The time is:%s\n",ctime(&sec)); printf("Testing...\n"); system("dir /"); printf("...testing complete.\n"); return 0; } /* This program prints the time and does a system command ls. */
run
|
edit
|
history
|
help
3
Multiple If statements v1
PointerFunct
Welcome1
Pregunta 3 de registros
kill
hello world
Array pass effect
Welcome1
tst2.c
3D ..