1 to N Even Numbers [C/C++]

#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
int a,b;
main()
{
      printf("Enter a Number :");
      scanf("%d",&a);
      b=0;
      while(b <= a)
      {
      if ( b != 0 && b%2 == 0)
      {
           printf("\n%d",b);
       }
       b++;
       }
      getch();
}