"initializa tion makes integer from pointer without a cast".That means you you cann't assign a pointer to a integer variable.In this case,'a' is a pointer and 'c' is a integer variable.You can change the declaration as follows:
Code:
 int* c ;
 c = a ;
Any questions please send me a message.