What will be the output of the following pseudo code?
Integer a,b
set a=10,b=5
a=a mod(a-6)
b=b mod(b-2)
print a-b
Qus
निम्नलिखित स्यूडोकोड का आउटपुट क्या होगा?
Integer a,b set a=10,b=5 a=a mod(a-5) b=b mod(b-2) print a-b
A. 4
B. 0
C. 1
D. 8
Solution
B. 0Explanation
a=10 mod 4 = 2 (remainder )
b=5 mod 3=2
2-2=0 so print a-b is 0