Home / MCQ Bank / Computer
Computer Plus Plus Miscellaneous Difficulty: Medium

What will be the output of the following C++ code? #include <iostream> using namespace std; int funcstatic(int) { int sum = 0; sum = sum + 10; return sum; } int main(void) { int r = 5, s; s = funcstatic(r); cout << s << endl; return 0; }

Select the correct option to test your answer:

More Computer Questions

Which of these keywords is used by a class to use an interface defined previously? What is the significance of the JavaScript logging library log4javascript? What is the purpose of a subject block in RSpec? What is the output of the following code: my_set = {1, 2, 3} my_set.remove(2) print(my_set) DataStage originated at . . . . . . . . a company that developed two notable products: UniVerse database and the DataStage ETL tool.