Hi,
I was wondering what causes this error:
'isPrime' was declared implicitly 'extern' and later static
if i had my declarations as
static int isPrime(int n){
...
}
int doSomething(int m){
...
if (!isPrime(5))
/* do something */
}
Your help will be appreciated
I was wondering what causes this error:
'isPrime' was declared implicitly 'extern' and later static
if i had my declarations as
static int isPrime(int n){
...
}
int doSomething(int m){
...
if (!isPrime(5))
/* do something */
}
Your help will be appreciated