Multiplication of Two Large Numbers in C

Multiplication of two large numbers in c for beginners to understand the operator concepts in c programming to execute the multiplication of two numbers in c.

Operators in C Program

The C programming language has a large number of built-in operators. A unique symbol called an operator instructs the compiler to do specified mathematical or logical operations. Mathematical operators are used in programming languages. Arithmetic operators, relational operators, and logical operators are the three types of operators used by programmers.

Double Data Type in C

A double data type is a 64-bit IEEE 754 floating point with double precision. The Floating-Point Types, Formats, and Values part of the Java Language Specification specifies its range of values, which is beyond the scope of this article. 

This data type is usually the default for decimal values. A signed integral type with at least 32 bits is called a long int, whereas a signed integral type with at least 64 bits is called a long long or long long int. This does not imply that a long long is larger than a long. This is sample program to execute multiplication of two large numbers in c

#include <stdio.h>
int main() 
double a, b, mul;
printf("Enter two numbers");
scanf("%lf %lf", &a, &b); 
mul = a * b;
printf("mul = %.2lf", mul);


Enter two numbers45
mul = 270.00