Join Our Email Alerts-Subscribe
Important Note:Login & Check Your Email Inbox and Activate Confirmation Link



Enter Your Email :


Programming Souce Codes & ebooks-Free Download

Free ebooks

Programming Study Materials & ebooks

Online Training


C Program For DECIMAL TO BINARY.

void main()

{

int n,z=0,i,a[20];

clrscr();

printf("Enter the n value");

scanf("%d",&n);

while(n>0)

{

a[z]=n%2;

z++;

n=n/2;

}

for(i=z;i>=0;i--)

{

printf("%d",a[i]);

}

getch();

}


All Programming Codes/Onlie Training/ Lab Manuals Download