Compilation error at two places
1) int const * i= 5;....this is an invalid conversion..means that's not correct way to convert int into const
you can convert it by typecasting(for eg; int const *i=(const *)5;)
2)printf("%d\n", ++(*i)); due to increment operation