Assuming the variable name is tmp and you would like to


Question1: Assuming a C fle ocean.c, what are the commands to:

1: compile it into an executable fle named eleven, while enabling all the

warnings and treating them as errors?

2:run the resulting executable file? 

Question2:After spending several hours writing a long C fle, you realize that you would like to change the name of one of your variables. The variable is being referenced tons of times throughout your code, so it would waste too much time to change all these references manually. Assuming the variable name is 'tmp' and you would like to rename it into 'time_elapsed', what is the sequence of keystrokes you should type?

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Assuming the variable name is tmp and you would like to
Reference No:- TGS02621331

Now Priced at $20 (50% Discount)

Recommended (99%)

Rated (4.3/5)