Question: #include int *ptr; int arr1 [10] = {1, 2, 3, 4, 5, 6, 7, 8, 9,10}; int arr2 [10] = {11, 12, 13, 14,

#include int *ptr; int arr1 [10] = {1, 2, 3, 4, 5,

#include int *ptr; int arr1 [10] = {1, 2, 3, 4, 5, 6, 7, 8, 9,10}; int arr2 [10] = {11, 12, 13, 14, 15, 16, 17, 18, 19, 20}; int main() { } ptrarrl; printf("%d ", * (ptr+1)); ptrarr2; printf("%d ", * (ptr+2)); What will the above program print?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

There are syntax errors in the code provided not closing ... View full answer

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 Programming Questions!