c compilation error
Posted
by ambika
on Stack Overflow
See other posts from Stack Overflow
or by ambika
Published on 2010-03-15T08:50:07Z
Indexed on
2010/03/15
9:09 UTC
Read the original article
Hit count: 296
c
|compiler-errors
hi, this is my error
error:static declaration of 'doct' follows non-static declaration
error: previous declaration of 'doct' was here.
my code
int doct(int*); <- here the second error
private int doct(int *a)
{
static int a=0; <- here the first error
a++;
*a=a;
return 0;
}
give suggestion.
© Stack Overflow or respective owner