โ Back to Structs
Question 124
Create and Print a Point
Create and Print a Point
A Point struct (with int fields x and y) is defined for you. In main, create a Point with x = 3 and y = 7, then print the two values separated by a space. Expected output: 3 7
Expected Output:
3 7
Topics:
Structs
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.