Question: need help with these two question. 1. Write the C code that would set an int variable named debugMode to TRUE if the value of

need help with these two question. need help with these two question. 1. Write the C code that

1. Write the C code that would set an int variable named debugMode to TRUE if the value of -d was given anywhere on the command line. Otherwise, the variable should be FALSE. Use the code in lab4a.c as a starting point. Hint: use library function stremp and assume C Booleans are created. int debug Mode; 2. Write the C code that would determine if the third command line argument contained an integer value. The integer value, if it exists, should be stored in an int variable named commandLine Value. Otherwise store the value on -999 in the variable commandLine Value. Hint: use library function atoi() int command Line Value

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!