IBPS RRB IT Officer

IBPS RRB IT Officer Scale II Specialist Officer Exam

Oops ProgrammingEnglish
Exam overview

Practice session

What is the output of the following C code snippet? #include <stdio.h> int main() { int arr[] = {10, 20, 30, 40, 50}; int *p = arr; printf("%d ", *(p + 2)); printf("%d ", *p + 2); return 0; }

Loading your practice session…