C program for addition of Two Integer values num1 and num2 are two integer variables and performed sum using + operator. Output for integer sum: Enter two numbers to Perform Addition:10 20 the sum of 10 and 20 is 30
Start reading C Program for Addition of Two NumbersCategory: C Programs
C program to find the size of an integer, to find the size of any variable associated with any datatype, sizeof() operator will be used. The following program shows the size of short, int, long and long long datatypes. OUTPUT: size of short: 2 size of int: 4 size of long int: 4 size of long long int: 8
Start reading C Program to find Size of IntegerOUTPUT: Enter a Number : 6 6 is a Perfect Number
Start reading C Program to Find Given Number is Perfect or NotOUTPUT: EX 1: Enter Year : 2000 2000 is a Leap Year EX 2: Enter Year : 2004 2004 is a Leap Year
Start reading C Program to Check the Leap YearOUTPUT: Enter a Number: 145 Sum of Digits of Number: 10
Start reading C Program for Sum of Digits of a NumberOUTPUT: Enter a Number to perform Sum : 258 Sum of Digits of Given Number is: 15
Start reading C Program for Sum of Digits of a Number using RecursionOUTPUT: Enter the Radius of a Circle : 2 Area of Circle is: 12.560000
Start reading C Program to find Area of a CircleArea of a rectangle can be calculated using length * breadth OUTPUT: Enter the Length of Rectangle : 3.2 Enter the Breadth of Rectangle : 4 Area of Rectangle : 12.800000
Start reading C Program to Find Area of RectangleOUTPUT: Enter the Length of Side : 4 Area of Square : 16.000000
Start reading C Program to Find Area of a SquareOUTPUT: Enter Three Values : 10 5 36 36 is Greatest Number
Start reading C Program to Find Biggest among Three Numbers