Home / MCQ Bank / Computer
Computer Operators And Expressions In C Plus Plus Difficulty: Medium

What will be the output of the following C++ code? #include <iostream> using namespace std; int main() { int a = 5, b = 6, c, d; c = a, b; d = (a, b); cout << c << ' ' << d; return 0; }

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following C# code snippet? class UnsafeCode { unsafe static void Main() { int* ptrs = stackalloc int[3]; ptrs[0] = 1; ptrs[1] = 2; ptrs[2] = 3; for (int i = 2; i >=0; i--) Console.WriteLine(ptrs[i]); Console.ReadLine(); } } Constructors are used to . . . . . . . . How can you remove borders applied in cells? Which of the following is an exit-controlled loop? The provides() function and the exportsobject are used to