Function Main
Declare variables i, j as integers
Declare variable k as a pointer to integer
Read values for i and j from input
Print the values of i and j
If i is equal to 1 and j is equal to 2, then
Print the product of i and j
Else
Print the sum of i and j
Print the value pointed to by k (which is the value of j)
End
I am Md. Anisur Rahman. I have completed Cyber Security for MSCSE at United International University in 2022.I have completed PGDIT from IIT, Jahangirnagar University in 2020. I'm a Head of IT at Programming24 School.
View all posts by Md. Anisur Rahman