#include <stdio.h> void main() { int x, y, Area, Perimeter; int *ptrx = &x ; int *ptry = &y; clrscr(); printf("Enter the sides of a rectangle"); scanf("%d %d", ptrx, ptry ); printf("x = %d\t y = %d\n",*ptrx, *ptry); Area = *ptrx * *ptry; Perimeter= 2*(*ptrx + *ptry); printf("Area of rectangle= %d\n" ,Area); printf("Perimeter = %d\n", Perimeter); } The expected output is as given below. The output is obvious