Computer Science, asked by rohtashsharma8234, 7 months ago

#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 akashujawanerocker
0

Answer:pls provide proper questions

Answered by G0DFA7HER
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