For a typical program, the input is taken using _________
1 Crore+ students have signed up on EduRev. Have you? Download the App |
What will be the output of the following C code?
#include <stdio.h>
int main()
{
char c = '�';
putchar(c);
}
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);
}
What will be the output of the following C code if following commands are used to run and if myfile does not exist?
gcc -o test test.c
./test > myfile
#include <stdio.h>
int main(int argc, char **argv)
{
char c = 'd';
putchar(c);
printf(" %d\n", argc);
}
What does the following command line signify?
prog1|prog2
10 videos|13 docs|15 tests
|
10 videos|13 docs|15 tests
|