Let (Z, +) denote the group of all integers under addition, then the number of all automorphisms of (Z, +) is.

The answer is 2
(Z, +) has 2 generators so i want to know is there any relation between no of automorphisms of a cyclic group and no of generators of a cyclic group.
also help me how to solve this type of question. please help me................