Pointers code

Report a typo

Match blocks to get working code.

Remember that correct indentation is also important for this task.

Reorder lines using drag or arrows. Adjust indentation with left buttons
                }
              
                using namespace std;
              
                #include <iostream>
              
                int main(){
              
                int num = 1500, *ptr;
              
                return 0;
              
                cout << *ptr << endl;
              
                ptr = &num;
              

Create a free account to access the full topic