Teaching Rajasthan Basic Computer Instructor 2021 Mock Test Programming and Data Structure Programming in C Pointer
निम्नलिखित C++ प्रोग्राम का आउटपुट क्या होगा?
#include
#include
void main( )
{
int num[ ] = {56, 75, 22, 18, 90};
int ∗ptr,i;
ptr = num;
ptr++;
ptr - = 1;
cout << "\nvalue at ptr: "<< ∗ptr;
}
1
74
2
56
3
55
4
75