> Functions can have local variables. Is this true or false??I think
> it 's false because functions always have local variables

Did you even READ this question?

"True or false: Functions can have local variables."

Um...
Code:
int main( void )
{
    int OhMyGodIAmALocalVariable;
}
Likewise, you've never seen the classic 'hello world' program?

Code:
int main( void )
{
    return printf( "Hello world!" );
}
There are no local variables.

Quzah.