What will be the output of following code?
BOOL isBool = YES; NSLog(@"%d", isBool);
Correct Answer: 1
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Objective C Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Objective C MCQ Questions
Look at below code and provide the reference counter value after it executes:
Which one is a Singleton?
Can you call C++ code from the Objective-C environment?
What is a local variable that has no default initial value and does not retain its value through method calls?
Look at below code and tell correct output?
What is not supported in Objective-C
In Core Data, what is the name of the object representation for the database schema?
What does the following code do, assume ARC is enabled? NSArray *myArray; for (int i = 0; i < 10; i++){ @autoreleasepool { myArray = [[NSArray alloc]init]; } }
What happens if you use fgets and do not give it a size smaller than the buffer?
how can we return multiple values from function?