973 views
0 0 votes

All four are correct i think.Then why option c is false?In place of ac and av ,argc and argv should be used.and this is true.

1 Answer

Position:
Show:

Related questions

1 1 vote
1 answers 1 answer
1.2k
1.2k views
Aakash1125 asked Apr 20, 2017
1,241 views
What is the output of this C code (run without any command line arguments)? #include <stdio.h>int main(int argc, char *argv[]){while (*argv != NULL)printf("%s\n", *(argv+...
1 1 vote
1 1 answer
2.8k
2.8k views
Sanjay Sharma asked Jun 8, 2016
2,845 views
What would be the output of the following program, if run from the command line as “myprog 1 2 3” ?main (int argc, char * argv[ ]) { int i ; i = argv + argv + argv[3] ;...
0 0 votes
1 1 answer
6.5k
6.5k views
Sanjay Sharma asked May 28, 2017
6,527 views
what is the difference between command and instruction
0 0 votes
0 0 answers
1.6k
1.6k views
ranarajesh495 asked Apr 29, 2019
1,629 views
Can we assign a value to a variable in calling a function as function argument?Ex- Int Func c( int); Int i =3; Void main(){ Fun c ( i=3)} Int Func c (int x) { Int x++; re...