1. What does the following code do?

       int number;
       int& atlas number;
       number=212;
       atlas++

a. increments the contents of atlas. 
b. increments the contents of number.
c. increments the contents for both atlas and number.
d. adds 2 to the number.

my answers:

a.nothing, there is no loop for the update atlas++
b. 212
c. compile error
d. 214 






2. What does the following code do?
      
       int number;
       int* weathervane;
       weathervane = &number;
       number=180;
       (*weathervane)++;

a. increments the contents of weathervane. 
b. increments the contents of number.
c. increments the contents for both weathervane and number.
d. adds 2 to the number.

my answers :

a. just goes blank ( I tested it on code blocks) is it because there is no loop like the first question?
b. 180
c. gives out a blank  statement.
d. 182 

I am not sure if these answers are correct or if I am getting the concepts correctly. Thank you for reading this.