What is the principle distinction between the function calls and messages?



What is the principle distinction between the function calls and messages?..

Answer / Praphull Kumar Mishra

In Objective-C, a function call is a direct invocation of a function using its name, followed by parentheses that contain any required arguments. A message, on the other hand, is a request sent to an object to perform a task or access its instance variables. Messages are sent using square brackets ([ ]) and are used to call methods in Objective-C.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Objective-C Interview Questions

Why we use synthesize in objective c?

1 Answers  


What is hashable?

1 Answers  


What is meant by not thread safe?

1 Answers  


How to add object to nsarray objective c?

1 Answers  


Is objective c the same as c++?

1 Answers  


What is difference between mutable and immutable?

1 Answers  


Mention what is the primary use of the category in the objective-c?

1 Answers  


What is an accessor method?

1 Answers  


Is objective-c is used in window also?

1 Answers  


What is difference between datasource and delegate?

1 Answers  


What is the difference between nsdictionary and nsmutabledictionary?

1 Answers  


What is synchronized() block in objective c?

1 Answers  


Categories