PRF193_SU25_Final_Exam_4133.webp
K

PRF193_SU25_Final_Exam_4133.webp

Kizspy | Question: 18
(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
Kusakabe2002
Ngày thêm
Lượt xem
635
Lượt bình luận
1
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom