Arithmetic Operators Flashcards

1
Q

Add

A

+

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Subtract

A

-

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Multiply

A

*

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Divide

A

/

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Modulus

A

%

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Increment

A

++

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Decrement

A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

arithmetic operator

A

arithmetic operator
numerical value
constants
variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

C Program to demonstrate the working of addition operators

a+b = 13

A
#include 
int main()                         {
    int a = 9,b = 4, c;
    c = a+b;
    printf("a+b = %d \n",c); 
    return 0;                       }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

C Program to demonstrate the working of subtraction operators
a-b = 5

A
#include 
int main()                          {
    int a = 9,b = 4, c;
    c = a-b;
    printf("a-b = %d \n",c); 
    return 0;                       }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

C Program to demonstrate the working of multiplication operators

a*b = 36

A
#include 
int main()                          {
    int a = 9,b = 4, c;
    c = a*b;
    printf("a*b = %d \n",c);
    return 0;                       }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

C Program to demonstrate the working of division operators

a/b = 2

A
#include 
int main()                          {
    int a = 9,b = 4, c;
    c=a/b;
    printf("a/b = %d \n",c);
    return 0;                       }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

C Program to demonstrate the working of modulo operators

Remainder when a divided by b=1 (integer value)

A
#include 
int main()                          {
    int a = 9,b = 4, c;
    c=a%b;
    printf("Remainder when a divided by b = %d \n",c);
    return 0;                       }
How well did you know this?
1
Not at all
2
3
4
5
Perfectly