Question: Which line has an error, or all lines are correct int *p; p = (int *) malloc( sizeof(int) ); printf(%d, *p); Select one: a. No

Which line has an error, or all lines are correct

  1. int *p;
  2. p = (int *) malloc( sizeof(int) );
  3. printf("%d", *p);

Select one:

a. No error

b. Line 3

c. Line 1

d. Line 2

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!