Q7.webp
F

Q7.webp

  • Media owner Falman97
  • Ngày thêm
Question: 7
(Choose 1 answer)
What is the output of the following C++ code snippet?
#include <iostream>
using namespace std;
struct Point {
int x;
int y;
FJOVERFLOW.Com
};
int main() {
Point p1 {10, 20};
Point p2;
p2 = p1;
cout << p2.x << " " << p2.y;
return 0;
A. 10 20
B. 00
C. p1.x p1.y
D. Compilation Error

Thông tin

Category
PRF193
Thêm bởi
Falman97
Ngày thêm
Lượt xem
611
Lượt bình luận
2
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom