0 votes 0 votes #include<stdio.h> #include<stdlib.h> int main(int argc, char **argv) { int i, j=0; for(i=0; i<argc; i++) j = j+atoi(argv[i]); printf("%d\n", j); return 0; } `JEET asked Nov 28, 2018 `JEET 312 views answer comment Share Follow See all 2 Comments See all 2 2 Comments reply kumar.dilip commented Nov 28, 2018 reply Follow Share If you have done command line programming in c then you must be knowing argv. atoi ======>>> convert string to number. 0 votes 0 votes `JEET commented Nov 28, 2018 reply Follow Share @kumar.dilip No, I haven't done. Please explain this question if you can. 0 votes 0 votes Please log in or register to add a comment.