#include struct Point { int x, y, z; }; int main() { struct Point p1 = {.y = 0,.x = 2, .z = 1}; std::cout<< p1.x<< p1.y<< p1.z; return 0; }
Answers
Answered by
0
Answer:pls provide proper questions
Answered by
1
Answer:
Explanation:
#include<iostream>
struct Point
{
int y, x, z;
};
int main()
{
struct Point p1 {0,2,1};
std::cout<< p1.x<< p1.y<< p1.z;
return 0;
}
Similar questions
Chemistry,
5 months ago
Math,
5 months ago
English,
5 months ago
Math,
10 months ago
Math,
10 months ago
Social Sciences,
1 year ago
Business Studies,
1 year ago