If int a=43;b=5;int c=0;
what value is stored in case when c=a%b
Answers
Answered by
19
You have typed the wrong syntax
It must be
int a=43,b=5;
int c=0;
c=a%b;
Output will be c=3 as % is called remainder or modulus operator
Which returns the remainder of the 2 numbers.
Hope it helps you
It must be
int a=43,b=5;
int c=0;
c=a%b;
Output will be c=3 as % is called remainder or modulus operator
Which returns the remainder of the 2 numbers.
Hope it helps you
Aiesha:
then answer is 8
Answered by
3
Answer is 3...............
Similar questions
Computer Science,
7 months ago
English,
7 months ago
Math,
7 months ago
Math,
1 year ago
Social Sciences,
1 year ago
English,
1 year ago