Home / Programming MCQs / C++ MCQs / Question
R
Q. What is the output of the following C++ code?
#include<iostream> using namespace std; int fun(int a = 0, int b = 0, int c) { return (a + b + c); } int main() { cout << fun(2); return 0; }
No solution found for this question.
Add Solution and get +2 points.
You must be Logged in to update hint/solution
Arr[6] access which element stored in an array?
Which punctuator is used to group a set of C++ statements?
How many types of polymorphisms are supported by C++?
What is Self Referencial Structure?
What is output of below program?
Which one is more faster? A - #include <iostream.h> B - #include "iostream.h"
Reusability of code can be achieved in CPP through:
By default how the value are passed in c++?
Every element in an array is searched against some searching key, special for
Which of the following functions below can be used Allocate space for array in memory?
Discusssion
Login to discuss.