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:

  1. Test your program after necessary corrections.
  2. Make it run
  3. 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!