?
What will the following C code do on compilation?
What will the following C code do on compilation?
void main ()
{
char com[50];
strcpy( com, "dir" );
system(com);
}
void main ()
{
char com[50];
strcpy( com, "dir" );
system(com);
}
Join the Discussion
Login to post a comment or share your explanation.
Login