What is difference between extern and global?
Answer / Lokesh Kumar Singh
In Objective-C, 'extern' is a keyword used to declare variables that are visible outside of their current file scope. A 'global' variable is simply a variable with file scope that can be accessed from any part of the file. However, using extern does not create a global variable; it just declares that the variable is defined elsewhere.
| Is This Answer Correct ? | 0 Yes | 0 No |
Can you learn swift without knowing objective c?
What does mean in objective c?
What is property in objective c?
Is objective c superset of c?
When will you use nsarray and nsmutablearray?
How can we put nil it into dictionary/array?
What is a protocol in objective c?
How messaging works in objective-c?
Does objective c have pointers?
What is property and its types?
What is protocol in objective-c?
Is objective c faster than swift?