Let a,b be two non-negative integers, which of the following calls, find the

  • 0 replies
  • 260 views
*

Offline mechanic

  • *****
  • 2490
    • View Profile
    • Engineering Forum
Question: Let a,b be two non-negative integers, which of the following calls, find the positive difference of a and b?

Options are:


A. find (a,b) + find (b,a)
B. find {a,find(a,b)}
C. a + find(a,b)
D. b + find (a,b)

Correct answer is:

A. find (a,b) + find (b,a)