Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main {
- struct {int x, y; char tag;} point1, point2;
- point1.x = 1; point1.y = 3; point1.tag = 'A';
- point2.x = 4; point2.y = 7; point1.tag = 'B';
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement