Menu

Question Discussion & Solution

MCQ
Q.
Consider the following C++ code snippet:

#include 
int main() {
int a = 5;
int b = 2;
int result = a / b;
std::cout << result << std::endl;
return 0;
}
What will be the output of this program?

forum Community Discussion

speaker_notes_off

No discussions yet. Be the first to start!

You must be logged in to participate in the discussion.

login Login to Discuss

category More C++ Topics

article

Mixed

format_list_bulleted 26 MCQs
article

The Fundamentals (Basic Syntax & Logic)

format_list_bulleted 0 MCQs
article

Functions, Arrays, and Strings

format_list_bulleted 0 MCQs
article

OOPs Concepts

format_list_bulleted 0 MCQs