Arithmetic Operators

in Hindi - Arithmetic Operators



  • C Programming में ६ प्रकार के Operators होते है |
    1. Arithmetic Operators(+,-,*,/)
    2. Relational Operators(<,>,<=,>=,==,!=)
    3. Bitwise Operators(|,&,~,^,<<,>>)
    4. Logical Operators(&&,||,!)
    5. Assignment Operators(=,<=,>=,|=,+=,-=,*=,/=,&=,^=)
    6. Increment/Decrement (++/--)

    C Programming में पांच प्रकार के Arithmetic Operators होते है |
    1. Addition(+)
    2. Subtraction(-)
    3. Multiplication(*)
    4. Division(/)
    5. Modulus(%)

 


Source Code :

RUN#include <stdio.h>
#include <conio.h>

void main() {

int a,b,c;

printf("Enter two numbers");
scanf("%d%d",&a,&b);

c=a+b;
printf("\nAddition of a and b is %d",c);

c=a-b;
printf("\nSubtraction of a and b is %d",c);

c=a*b;
printf("\nMultiplication of a and b is %d",c);

c=a/b;
printf("\nDivision of a and b is %d",c);

c=a%b;
printf("\nRemainder of a and b is %d",c);

getch();

}