As it is a beginner level program so we have hard coded the length and width. In next tutorials we will write a c program witch will ask user input for length and width.
int length = 6;
int width = 5;
printf(“Area of rectangle : %d \n”, length*width);
After successful execution of the program change the value of length and width and check whether you are getting the correct answer or not.