tags:

views:

47

answers:

1

when i creating static int variable; is giving error like expected specifier qualifier

A: 

That's not a lot to go on, but something I tripped over in one of my projects is that static variables can only be declared in the @implementation section of a .m file. If you declare a static variable in the @interface section it throws a compiler error.

Joe Ibanez