Question: you are going to create your own rst program from scratch as below. Copy the code shown below into your editor. Your code must match

you are going to create your own rst program from scratch as below. Copy the code shown below into your editor. Your code must match that shown below exactly except for the parts in green at the top that you will edit. After you successfully compile and run it, explain what your program outputs. Try running it both in zyBooks and in your own IDE; the results might be dierent. See if you can explain why there might be discrepancies between the two.

you are going to create your own rst program from scratch asbelow. Copy the code shown below into your editor. Your code must

* 24 25 26 27 Author : put your name here 28 Date : put today's date here 29 Output : describe what happens when you run the program here 30 (assuming you fixed any syntax errors you may have introducted). 31 What did you see on the screen? Copy the output of your program into this comment 32 */ 33 34 #include 35 36 int main(int arge, char * argv[]) { 37 printf("This program has the executable name: %s ", argv[0]); 38 printf("That is all! "); 39 return 0; 40 } Comments are the sections in the code to explain what our programming code does and help us to maintain good readability of our code. They are the words in green color above. Anything between /* */ will be ignored by the compiler and is not part of the real program. Please let me know if you have any questions. At the top of your program, you should have a comment section that follows the below format: ***** ***** ******** /******************* Author: Date: Purpose: Sources of Help: Time Spent: ***********************************************/ * 24 25 26 27 Author : put your name here 28 Date : put today's date here 29 Output : describe what happens when you run the program here 30 (assuming you fixed any syntax errors you may have introducted). 31 What did you see on the screen? Copy the output of your program into this comment 32 */ 33 34 #include 35 36 int main(int arge, char * argv[]) { 37 printf("This program has the executable name: %s ", argv[0]); 38 printf("That is all! "); 39 return 0; 40 } Comments are the sections in the code to explain what our programming code does and help us to maintain good readability of our code. They are the words in green color above. Anything between /* */ will be ignored by the compiler and is not part of the real program. Please let me know if you have any questions. At the top of your program, you should have a comment section that follows the below format: ***** ***** ******** /******************* Author: Date: Purpose: Sources of Help: Time Spent: ***********************************************/

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!