Aptitude Question: Download Questions PDF
What is the maximum no. of arguments that can be given in a command line in C?
Answer:
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
int main(int argc, char **argv) ....
^^^^
sizeof(int) number of arguments are possible
hence 32767 args are possible for a 32 bit computer
Download Aptitude Interview Questions And Answers
PDF