Mastering C++: A Comprehensive Quiz Based on 'Thinking in C++' 2025 - Free C++ Practice Questions and Study Guide

Question: 1 / 565

How does make determine the default target?

It looks for the target named 'default'

It builds the target with the most dependencies

It selects the first target in the makefile

B is incorrect because make does not consider the number of dependencies when selecting the default target. Instead, it prioritizes the order of targets as they appear in the makefile, making C the correct answer.

D is also incorrect because make does not require user input to determine the default target, so it does not prompt the user at runtime.

Get further explanation with Examzify DeepDiveBeta

It prompts the user at runtime

Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy