Question: Why is the command g + + pthread _ test _ 1 . cpp - o p 1 _ alt producing an error? Because the
Why is the command g pthreadtestcpp o palt producing an error?
Because the program has a syntax error.
Because the command uses the wrong program name.
Because compiling C programs that use Pthreads requires the use of the lpthread option.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
