Home / MCQ Bank / Computer
Computer Structures And Unions In C Plus Plus Difficulty: Medium

What is the output of the following code: struct Point { int x, y; }; Point p1; p1.x = 10; p1.y = 20; cout << p1.x << " " << p1.y; in C++?

Select the correct option to test your answer:

More Computer Questions

Which statistical method is used to determine the order of differencing in an ARIMA model? Which method is used to close a network connection in C#? The function abort() is defined in which of the following header file? What is the advantage of a hash table over BST? Encryption in Autokey cipher is done using . . . . . . . .