What is the difference between function and objective?



What is the difference between function and objective?..

Answer / Sanchi Gupta

There seems to be a mistake in your question. It should be either 'What is the difference between function and method (in Objective-C)' or 'What is a selector in Objective-C?' To clarify, a function is a standalone piece of code in C and related languages, while a method is a function associated with an object instance in Objective-C.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Can you retain delegates?

1 Answers  


What is singleton in objective c?

1 Answers  


What is hashable?

1 Answers  


Is a fact objective?

1 Answers  


What is synchronized() block in objective c?

1 Answers  


How different is objective c from swift?

1 Answers  


How do you insert a block?

1 Answers  


What are the different types of identifiers?

1 Answers  


Is objective c better than c++?

1 Answers  


What is posing in objective c?

1 Answers  


Why is objective c better than swift?

1 Answers  


How to add object to nsarray objective c?

1 Answers  


Categories