Increment 2


Declare a pointer initialize the pointer to NULL and initialize two variables to some values. Store the address of the first variable to the pointer and Increment by 11 using pointer and print the value. Now change the pointer to address to other variable and calculates 10 times of the variable using pointer. Test Case 1 Input (stdin) 5 6 Expected Output 16 60 Test Case 2 Input (stdin) 15 12 Expected Output 26 120

Program :

#include <iostream>

using namespace std;

int main()


int a,b;





return 0;