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); }
a) d 2 in myfile
b) d 1 in myfile
c) Depends on the system
d) Depends on the standard
What will be the output of the following C code if following commands are used to run and if myfile does not exist?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What will be the output of the following C code if following commands are used to run and if myfile does not exist?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!