adplus-dvertising
frame-decoration

Question

What is the output of C Program with functions?
int bunny(int,int);
int main()
{
    int a, b;
    a = bunny(5, 10);
    b = bunny(10, 5);
    printf("%d %d", a, b);
    return 0;
}
int bunny(int i, int j)
{
    return (i, j);
}

a.

5 10

b.

10 5

c.

5 5

d.

Compiler error

Posted under C Programming

Answer: (b).10 5

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of C Program with functions?

Similar Questions

Discover Related MCQs

Q. What is the default return value of a C function if not specified explicitly?

Q. Choose a non Library C function below.

Q. Choose a correct statement with C Functions.

Q. Choose a corrects statement about C language function arguments.

Q. Arguments received by a function in C language are called ___ arguments.

Q. Arguments passed to a function inC language are called ___ arguments.

Q. What characters are allowed in a C function name identifier?

Q. What is the maximum number of statements that can present in a C function?

Q. What is the minimum number of functions to be present in a C Program?

Q. Every C Program should contain which function?

Q. What is the limit for number of functions in a C Program?

Q. Choose correct statements about C Language Pass By Value.

Q. What are types of Functions in C Language.?

Q. How many values can a C Function return at a time?

Q. A function which calls itself is called a ___ function.

Q. Choose a correct statement about C Language Functions.

Q. Choose correct statement about Functions in C Language.

Q. Which of the following is true about recursion?

Q. The data structure used to implement recursive function calls _____________

Q. When a recursive function is called in the absence of an exit condition, it results in an infinite loop due to which the stack keeps getting filled(stack overflow). This results in a run time error.