Learning Macros
Submissions: 6511   Accuracy:

76.85%

  Difficulty: Easy   Marks: 2
Associated Course(s):   Fork CPP   Placement 100

Macro is one of the most important part of CPP preprocessors. It allows us to define variables and functions and it basically works by substituting the value or function during the preprocessing stage of code conversion(High level to Low level). So, let's dive into preprocessors!

You are given two inputs: a(integer),and b(integer). You need to print a * b .

Input Format:
First line of input conatins number of testcases T. For each testcase, there will be one line of input containing a and b.

Output Format:
For each testcase, print a*b.

User Task:
Your task is to complete the provided function .

Constraints:
1 <= T <= 10
1 <= a,b <= 100

Input:
2

5 6
7 11

Output:
30
77

 

** For More Input/Output Examples Use 'Expected Output' option **

Author: Soul_xhacker


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.


to report an issue on this page.