Does this function return structure pointer mypoint ?
Code:#include <stdio.h> struct student { int x; int y; }; // function prototype struct student* display(struct student *mypoint); int main() { struct student mypoint; mypoint.x = 1; mypoint.y = 2; display(&mypoint); // passing struct as an argument return 0; } struct student* display(struct student *mypoint) { printf("\n Displaying information\n"); printf("\n x: %d", mypoint->x); printf("\n y: %d", mypoint->y); return mypoint; }