Question: () A novice programmer wrote the following fragment of code for a new game destined to be a megahit. At the next code review, the

() A novice programmer wrote the following fragment of code for a new game destined to be a megahit. At the next code review, the project manager looked at the program, announced, "I will not be responsible for this kind of work!" and quit on the spot (in today's economy, no less!) [... void ask_the_question(NODE node) \{ char *question; char c; / build the query / question=strcat("Is it ",node->str); / print the query / printf("\%s?",question); c = get_answer(); [... \} What is wrong with the code fragment? (Hint: It compiles fine, and you don't have to make any assumptions about any other code.)
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
