+1 vote
10 views
What are command line arguments in C Programming?
in Technology by (190k points)

1 Answer

0 votes

The arguments which we pass to the main() function while executing the program are called as command line arguments. The parameters are always strings held in the second argument (below in args) of the function which is array of character pointers. First argument represents the count of arguments (below in count) and updated automatically by operating system.

main( int count, char *args[]) {

}

by (190k points)

Related questions

0 votes
1 answer 20 views
+1 vote
1 answer 10 views
10 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 10 views
10 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 14 views
+1 vote
1 answer 15 views
0 votes
1 answer 33 views
0 votes
1 answer 9 views
0 votes
1 answer 14 views
14 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
0 votes
1 answer 11 views
11 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
0 votes
1 answer 6 views
+1 vote
1 answer 19 views
+1 vote
1 answer 18 views
+1 vote
1 answer 11 views
11 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 11 views
+1 vote
1 answer 10 views
10 views asked Nov 9, 2020 in Technology by JackTerrance (190k points)
+1 vote
1 answer 6 views
...