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
hello
Project 4 v.5
Lab 9 v0.9
Assignment 7
-Wall
Lab 7 blackjack v1.0
Max successs
Partition
json string formatter
PuntosTriangulo