#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#define father name_pedar

struct student {
    int id;
    char name[10];
    char name_pedar[10];
};

void printStructStudent(struct student *st);

int
main(int argc, char *argv[])
{
    struct student mohsen;
    int father = 50;

    mohsen.id = 1010;
    strcpy(mohsen.name, "mohsen");
    strcpy(mohsen.father, "abdollah");

    printStructStudent(&mohsen);
    printf("%d\n", father);
    exit(EXIT_SUCCESS);
}

void
printStructStudent(struct student *st)
{
    printf("id=%d\n", st->id);
    printf("name=%s\n", st->name);
    printf("father=%s\n", st->father);
}
