UGC NET Programming Language (2021-2025)
Programming Language (2021-2025) Prev NEXT Menu -> (2021-2025) Q1 – Consider the following code segmentint arr[] = {0, 1, 2, 3, 4}; int i = 1, *ptr; ptr = arr + 2; Arrange the following printf statements in the increasing order of their output. (a) printf(“%d”, ptr[i]); (b) printf(“%d”, ptr[i+1]); (c) printf(“%d”, ptr[-i]); (d) […]


