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

struct student {
        char sID[32];
        char sName[32];
        int englishScore;
        int koreanScore;
};

int main () {

        struct student std;
        
        printf("Enter student ID : ");
        scanf("%s", std.sID);

        printf("Enter student name : ");
        scanf("%s", std.sName);
        
        printf("Enter student english score : ");
        scanf("%d", &std.englishScore);
        
        printf("Enter student korean score : ");
        scanf("%d", &std.koreanScore);
        
        if ( strstr(std.sID, "2010") != NULL) {                                                                                                        /////////////여기요 
                printf("\nThis student enterred in 2010\n");
                printf("Student ID : %s\n", std.sID);
                printf("Student Name : %s\n", std.sName);
                printf("Student English Score : %d\n", std.englishScore);
                printf("Student Korean Score : %d\n", std.koreanScore);
        }
        
        return 0;
}










도데체 저기서 !=0 의 뜻이뭐임 ㅠㅠ?
std.sid 의 값의 2010이 NULL과 같다면의 뜻임 아니면은
std.sid 의 값이 2010과 같지 않다면의 뜻임?

not연산자인 ! 는 같지않다면의 뜻이잖아요 ...
헷갈려요 ㅠㅠ != 확실하게 머리에 박히게 이해되게할수잇는법어디없나요 ㅠㅠ?