Question: Using objective-c and IOS programming Identify and fix the error or errors in the following program: Test your program after necessary corrections. Make it run
Using objective-c and IOS programming
Identify and fix the error or errors in the following program:
- Test your program after necessary corrections.
- Make it run
- Take a screenshot
Submission
Submit both Screenshot image and your modified program.
int main(int argc, const char * argv[])
{
@autoreleasepool {
int GMT_time = 10, CST_time=10;
int* state1 = &CST_time;
CST_time += 5;
NSLog(@" When the GMT time is %p o'clock, then
it is %i o'clock in Minnesota", GMT_time, state1);
}
return 0;
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
