What is the purpose of command line arguments in a C program?

  • To display error messages
  • To enhance program security
  • To format program output
  • To provide input data to the program
Command line arguments are used to provide input data to a C program. They allow users to pass values to the program when it's executed, making it versatile and interactive.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *