What are the rules of variable?



What are the rules of variable?..

Answer / Vidhu Sharma

"In Objective-C, variables must be declared with a type before they can be used. You should also follow naming conventions (see above) and declare variables at the start of a function or method. In addition, you need to assign a value to a variable before using it."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

What are the different types of identifiers?

1 Answers  


How do I create a bridging header file?

1 Answers  


What is thread safe function?

1 Answers  


What is protocol with example?

1 Answers  


What is the difference between a script and function?

1 Answers  


What does mean in xcode?

1 Answers  


Who invented objective c?

1 Answers  


Can you use objective c in swift?

1 Answers  


When will you use nsarray and nsmutablearray? Which one is faster?

1 Answers  


Is closure a function?

1 Answers  


What is difference between array and nsarray?

1 Answers  


Why we use synthesize in objective c?

1 Answers  


Categories