Question: Date:_ Assume that the following structure is declared: struct Rectangle t int length; int Width; 3; a) Declare a structure variable My_Rectangle of the structure's
Date:_ Assume that the following structure is declared: struct Rectangle t int length; int Width; 3; a) Declare a structure variable My_Rectangle of the structure's type. b) Write a call statement which calls Display Function. c) Write the function's prototype for the Display Function which receives the structure from main and displays its members. Pass by reference. d) Write the function's definition which accepts a Rectangle structure as its argument and displays the structure's contents on the screen (Pass by Reference). 30 points
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
