Technicalsymposium.com - New Updates Alerts-Subscribe


Our Telegram Channel - Join Us


Our Free Email Alerts - Join Us



Important Note:Login & Check Your
Email Inbox and Activate Confirmation Link

Our Whatsapp Group - Join Us

Programming Source Codes & Free Projects PDF-Free Download





Programming & Projects PDF





C Program For BINARY TO DECIMAL

void main()

{

int s=0,z=0,n,t;

clrscr();

printf("Enter the n value");

scanf("%d",&n);

while(n>0)

{

t=n%10;

s=s+(t*pow(2,z++));

printf("s=%d\n",s);

n=n/10;

}

printf("given number is=%d",s);

getch();

}

Download All C Programming & Study Materials PDF