Witam mam problem z kodem konsola wyświetla mi błąd:
[Warning] assignment makes pointer from integer without a cast
Jednak program wyświetla poprawne wartości.
#include<stdio.h>
struct emp{
char* name;
int* age;
};
int main()
{
struct emp e;
e.name = "Jan";
e.age = 23;
printf("%s %d", e.name, e.age);
return 0;
}