What will be the output of the following C code?
int main(void)
{
int rc;
rc = system("time");
exit(0);
}
int main(void)
{
int rc;
rc = system("time");
exit(0);
}A. produces error
B. no value is returned
C. returns the time
D. nothing can be said
Answer: Option C

Join The Discussion