Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Point()
- {
- x = y = 0;
- }
- main()
- {
- const int N = 200;
- Point *A = new Point[N], sum;
- }
- struct Point //constructor
- {
- int x;
- int y;
- } Point;
- main()
- {
- int N = 200;
- Point* A = malloc(N * sizeof(*Point[]));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement