Question: Write a C program that: Creates int variables for width, length, and area of a room Creates int* pointers to the width, length, and area
Write a C program that:
Creates int variables for width, length, and area of a room
Creates int* pointers to the width, length, and area variables
Asks users to enter the width and length of a room, using the pointers when storing input
Calculates the area (width length) of the room, using the pointers for accessing the width, length, and area values
Prints the width, length, and area, using pointers to the values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
