Why you use i=2 or iterate from i=2

in for loop
for(i=2;i<n;i++)
here i start from 1 why you started from 2