Single File Programming Question
Problem Statement
You are tasked with creating a program to calculate the area of a rectangle. You need to implement this using pointer arithmetic.
Write a program that takes the length and breadth as input, calculates the area using pointer arithmetic, and then displays the result.
Input format :
The input consists of two space-separated integers representing the length and breadth of a rectangle.
Output format :
The output prints an integer representing the area of the rectangle.
Refer to the sample output for formatting specifications.
Code constraints :
1 ≤ length, breadth ≤ 1000
Sample test cases :
Input 1 :
2 4
Output 1 :
8
Input 2 :
15 9
Output 2 :
135