incompatible types when initializing type ‘float’ using type ‘point {aka struct point}’

C
1	#include <stdio.h>
2
3	struct student {
4	  int id_number;
5	  char* year;
6	};
7
8	int main()
9	{
10	  struct student foo;
11	  int id = foo.id_number;
12	  return 0;
13	}
	
Source

Also in C: