![Computers and Technology](/tpl/images/cats/informatica.png)
Computers and Technology, 06.05.2020 03:32, emmalucilleblaha1995
Before the main function, declare a struct called Movie which has title as a string and year as the integer as the member variables. Also before the main function, instantiate an object of Movie called m with initial value "Avengers" as title and year as 2019. Note m is the global variable and A in the title is uppercase. Also before the main function, declare another global variable which is a pointer to the movie object m named ptr and make it point to m.
In the main function, output the title and the year of m to the console separated by a space so that the output is "Avengers 2019" with a new line at the end.
Next in the main function, change the value of m so that the title of m is "Shrek" and the year is 2001 by manipulating ptr only. Again you should do this not using the variable m directly but using the pointer ptr instead.
Now output the value of m again by directly using the variable m. Double check the values got changed. Again, the title and the year should be separated by a space and have a new line at the end. So the new output should be "Shrek 2001" with a new line (note that S is the uppercase)
![answer](/tpl/images/cats/otvet.png)
Answers: 2
Other questions on the subject: Computers and Technology
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 11:20, destinyleisantos
The kurt vonnegut commencement speech, the neiman-marcus chocolate chip cookie recipe, and the get-well emails to the dying boy are examples of select one: a. social engineering b. hoax emails c. email viruses d. worms
Answers: 1
![image](/tpl/images/cats/informatica.png)
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 10:00, austintules2005
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
![image](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 10:00, lamanihill
Now, open this passage to read about fafsa requirements. describe the information you will need to provide in order to complete a fafsa. list at least three of the required documents you must include.
Answers: 3
Do you know the correct answer?
Before the main function, declare a struct called Movie which has title as a string and year as the...
Questions in other subjects:
![Konu](/tpl/images/cats/ap.png)
Advanced Placement (AP), 23.11.2020 22:00
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 23.11.2020 22:00
![Konu](/tpl/images/cats/biologiya.png)
![Konu](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 23.11.2020 22:00
![Konu](/tpl/images/cats/mat.png)
Mathematics, 23.11.2020 22:00
![Konu](/tpl/images/cats/istoriya.png)
History, 23.11.2020 22:00
![Konu](/tpl/images/cats/en.png)
![Konu](/tpl/images/cats/mat.png)
![Konu](/tpl/images/cats/mkx.png)
![Konu](/tpl/images/cats/himiya.png)
Chemistry, 23.11.2020 22:00