elder.cpp: In function 'int main()':
elder.cpp:15:24: warning: format '%c' expects argument of type 'char*', but argument 2 has type 'int' [-Wformat=]
scanf("%c %c", Z1, Z2);
^
elder.cpp:15:24: warning: format '%c' expects argument of type 'char*', but argument 3 has type 'int' [-Wformat=]
elder.cpp:9:14: warning: unused variable 'u' [-Wunused-variable]
int N, br=1,u;
^
elder.cpp:15:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c %c", Z1, Z2);
~~~~~^~~~~~~~~~~~~~~~~
elder.cpp:15:8: warning: 'Z2' may be used uninitialized in this function [-Wmaybe-uninitialized]
scanf("%c %c", Z1, Z2);
~~~~~^~~~~~~~~~~~~~~~~
elder.cpp:15:8: warning: 'Z1' may be used uninitialized in this function [-Wmaybe-uninitialized]