Question
a.
find(a, b) + find (b, a)
b.
find (a, find(a, b))
c.
a + find (a, b)
d.
b + find(a, b)
Posted under C Programming
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Let a, b be two non-negative integers. Which of the following calls, finds the positive difference of a and b ?
Similar Questions
Discover Related MCQs
Q. Pick the correct statements
View solution
Q. max is a function that returns the larger of the two integers, given as arguments. Which of the following statements finds the largest of three given numbers?
View solution
Q. Forward declaration is absolutely necessary
View solution
Q. void can be used
View solution
Q. Feature for accessing a variable through its address is desireable because
View solution
Q. It is not advisable to use macros instead of functions because
View solution
Q. Which of the following is/are syntactically correct?
View solution
Q. Use of macro instead of function is recommended
View solution
Q. Which of the following is not a primitive recursive but partially recursive?
View solution
Q. Pick the correct statements.
I. The body of a function should have only one return statement
II. The body of a function may have many return statements.
III. function can return only one value to the calling environment.
IV. If return statement is omitted, then the function does its job but returns no value to the calling environment.
View solution
Q. How many type of conversion are there in C?
View solution
Q. Which conversion also called Automatic Type Conversion?
View solution
Q. In Implicit type conversion, If an operand of long int is present then the other operand will be converted to
View solution
Q. In Implicit type conversion, If an operand of type long double is present in the expression, then the corresponding operand will also be converted to
View solution
Q. Which type of conversion is NOT accepted?
View solution
Q. The process in which a function calls itself directly or indirectly is called
View solution
Q. A function fun is called __________ if it calls the same function fun.
View solution
Q. Which of the following is not an example of recursion?
View solution
Q. When any function is called from main(), the memory is allocated to it on the stack.
View solution
Q. Iteration requires more system memory than recursion.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond C Programming? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!
Microprocessor
Understand the heart of your computer with our Microprocessor MCQs. Topics include...
Java Programming
Level up your coding skills with our Java Programming MCQs. From object-oriented...