topic/Functions
Start Test
Question No
Title
Type
Marks
542.
The keyword used to transfer control from a function back to the calling function is
MCQ
5
543.
What is the notation for following functions?1. int f(int a, float b) { /* Some code */ } 2. int f(a, b) int a; float b; { /* Some code */ }
MCQ
5
544.
How many times the program will print "IndiaBIX" ?#include<stdio.h> int main() { printf("IndiaBIX"); main(); return 0; }
MCQ
5
417.
What is the purpose of thedefkeyword?
MCQ
5
418.
What will be the result of the following code snippet?def add_numbers(a, b): return a + b result = add_numbers(3, 7) print(result)
MCQ
5
419.
How do you pass a default value to a function parameter?
MCQ
5
420.
What is the purpose of thereturnstatement in a function?
MCQ
5
421.
What does the term "function signature" refer to?
MCQ
5
606.
Which of the following function prototype is perfectly acceptable?
MCQ
5
607.
Which of the following statement is correct?
MCQ
5
Current Page: 1
Prev
1
2
Next