Home / MCQ Bank / Computer
Computer Functions And Procedures In C Plus Plus Difficulty: Medium

Which keyword is used to define a function in C++ that does not return any value?

Select the correct option to test your answer:

More Computer Questions

subscript operator is used to access which elements? What is the space complexity of the following recursive implementation to find the factorial of a number? int fact(int n) { if(_________) return 1; return n * fact(n - 1); } int main() { int n = 5; int ans = fact(n); printf("%d",ans); return 0; } What will be the output of the following Python code? >>> a={} >>> a.fromkeys([1,2,3],"check") How can you create an infinite generator in Python? The ............ function checks if the "end-of-file" (EOF) has been reached.