MCQ Buddy
Search here...
  • Home
  • MCQ Feed
  • Add Question
  • Programming Portal
  • English Portal
  • Login
  1. Home
  2. Engineering
  3. CPP Programming
  4. Question

M

Mr. Dubey • 100.69K Points
Coach

Q. Output of the program?
#include<iostream>
using namespace std;
int fun(int x = 0, int y = 0, int z)
{ return (x + y + z); }
int main()
{
cout << fun(10);
return 0;
}

  • (A) 10
  • (B) 0
  • (C) 20
  • (D) Compiler Error
  • Correct Answer - Option(D)
  • Views: 402
  • Filed under category CPP Programming
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs

Q. Which of the following is not a messaging mode in CoAP?

Q. Sin wave is

Q. The fundamental notions of software engineering does not account for ?

Q. public int function() { if(head == null) return Integer.MIN_VALUE; int var; Node temp = head; while(temp.getNext() != head) temp = temp.getNext(); if(

Q. The term can be freely used, but with the same meaning adopted in physics or system theory.

Q. Which server can join the indexes when only multiple indexes combined can cover the query:

Q. A field in header is used to specify the number of characters in the frame.

Q. In the example of predicting number of babies based on stork's population ,Number of babies is

Q. How many grouping is possible in this rollup?

Q. A Ring is said to be commutative if it also satisfies the property


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Download

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • UC Quiz
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy
  • Get the source code

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger