#include <stdio.h>
int main() {
struct point
{
int x;
int y;
}p;
void display(struct point p)
int main()
{
struct point p={2,3};
display(p);
return 0;
}
void display(struct point p)
{
printf("the coordinates of points are:%d,%d",p.x,p.y);
}
To embed this project on your website, copy the following code and paste it into your website's HTML: