Home / MCQ Bank / Computer
Computer Variables And Data Types In C Plus Plus

What is the result of the following expression in C++: 5 / 2?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • 2

Related Computer Questions

The three macros defined by stdarg.h is ______ What will be the output of the following C code according to C99 standard? #include <stdio.h> struct p { int k; char c; float f; }; int main() { struct p x = {.c = 97, .k = 1, 3}; printf("%f \n", x.f); } Hadoop I/O Hadoop comes with a set of ______ for data I/O. In C++, which type of constructor is called when an object is created without any arguments? What will be the output of the following C# code? { int i; Console.WriteLine("Hi"); for (i = 1; i <= 10; i++) Program.Main(args); Console.ReadLine(); }