?
What will be the output of the following C code if following commands are used to run (considering myfile exists)?
What will be the output of the following C code if following commands are used to run (considering myfile exists)?
gcc -otest test.c
./test < myfile
#include <stdio.h>
int main()
{
char c = 'd';
putchar(c);
}
gcc -otest test.c
./test < myfile
#include <stdio.h>
int main()
{
char c = 'd';
putchar(c);
}
Join the Discussion
Login to post a comment or share your explanation.
Login