Multiple choice technology web technology

A c++ program can have two main functions

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Every C++ program must have one and only one entry point, which is the global main function. Having multiple main functions results in a multiple definition linker error.