Important MCQ

A program is

Q.A program is

A) a set of instructions given to a computer
B) an input device
C) a printer
D) a hardware device
Correct Answer:
Option A
Detailed Explanation:
A) a set of instructions given to a computer is correct. A C++ program starts execution in main(). Statements normally end with semicolons; // and /*...*/ are comments, and the compiler translates source code into machine code.