Main.cc: In function 'int main()': Main.cc:11:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'long long int' [-Wformat=] printf("%.ld",a/b); ^ Main.cc:14:1: error: expected '}' at end of input } ^