Answers

Question and Answer:

  Home  Aptitude

⟩ What is the maximum no. of arguments that can be given in a command line in C?

for a program

int main(int argc, char **argv) ....

^^^^

sizeof(int) number of arguments are possible

hence 32767 args are possible for a 32 bit computer

 165 views

More Questions for you: