Question: Problem 2: Arrays and pointers (5 marks) CON What are possible outputs of the following code? Circle all correct answers. 1 #include int main() {

 Problem 2: Arrays and pointers (5 marks) CON What are possible

Problem 2: Arrays and pointers (5 marks) CON What are possible outputs of the following code? Circle all correct answers. 1 #include int main() { int m[2] = {5, 8}; int *n = m; printf ("m = %d, n=%d ", m, n) O a) program will not compile b) m = 58, n = 14285714 c) m = 14285714, n = 14285714 d) m = 5, n = 5 e) m = 5 8, n = 5 8

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!