Explain difference between nil and nil?



Explain difference between nil and nil?..

Answer / Anjali Vargila

There is no actual difference between `nil` and `nil`, they both represent the absence of a value. However, in Objective-C, you might encounter `nil` being used as an implicitly defined constant with type id. In this case, it refers to the object identifier.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apple iOS Interview Questions

Which is the super class of all view controller objects?

1 Answers  


What is the purpose of using ibaction and iboutlet?

1 Answers  


What is the difference between synchronous & asynchronous task in ios?

1 Answers  


Why do we override drawrect: method? How to explicitly call it?

1 Answers  


What are the different store migration options? When are they used?

1 Answers  


What is synchronous vs. Asynchronous in gcd ?

1 Answers  


What is @dynamic and any place where it is used?

1 Answers  


Explain application states

1 Answers  


What is block in ios objective c?

1 Answers  


what is Xcode?

1 Answers  


Explain UIApplication delegate

1 Answers  


Define 'strong' keyword?

1 Answers  


Categories