A

Admin • 833K Points
Coach

Q. What does argc represent in main()?

Code:
int main(int argc, char *argv[])
  • (A) Number of characters
  • (B) Number of arguments
  • (C) Address of arguments
  • (D) Type of arguments
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

argc holds the count of command-line arguments.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.