2019.05.22 20:36
2:1: warning: return type defaults to 'int' [-Wimplicit-int]
In function 'main':
7:5: error: variable-sized object may not be initialized
7:20: warning: excess elements in array initializer
7:20: note: (near initialization for 'e')
8:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
8:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int *' [-Wformat=]
5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
컴파일오류 이렇게납니다
댓글
2:1: warning: return type defaults to 'int' [-Wimplicit-int]
In function 'main':
7:5: error: variable-sized object may not be initialized
7:20: warning: excess elements in array initializer
7:20: note: (near initialization for 'e')
8:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int *' [-Wformat=]
8:12: warning: format '%d' expects argument of type 'int', but argument 3 has type 'int *' [-Wformat=]
5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
컴파일오류 이렇게납니다