Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

quiz arrary and pointers in c++

 #include <iostream>
   using namespace std;
   int main()
   {
       int arr[] = {4, 5, 6, 7};
       int *p = (arr + 1);
       cout << *p;
       return 0;
   }
Source by www.sanfoundry.com #
 
PREVIOUS NEXT
Tagged: #quiz #arrary #pointers
ADD COMMENT
Topic
Name
1+2 =