Check out example codes for "multiplication in c". It will help you in understanding the concepts better.

Code Example 1

// Program to multiply 2 numbers from user inputs

#include <stdio.h>
int main() {
    double a, b, product;
    printf("Enter two numbers: ");
    scanf("%lf %lf", &a, &b);  
 
    // Calculating product
    product = a * b;

    // Result up to 2 decimal point is displayed using %.2lf
    printf("Product = %.2lf", product);
    
    return 0;
}

Code Example 2

//use the "*"

/*var*/ * /*var*/;

Learn ReactJs, React Native from akashmittal.com