#include <stdio.h> #include <math.h> main() { int binary,rem,power=0,decimal=0; printf("enter binary number"); scanf("%d",&binary); while(binary) { rem=bin%10; sum=sum+(rem*pow(2,power)); binary /= 10; power++; } printf("Decimal notation: %d\n",decimal); }
Program to convert binary to decimal number in C
April 25th, 2012 by admin No comments »HCL Campus Recruitment Drive Feb 2012 PIET
February 23rd, 2012 by moses No comments »HCL Campus Recruitment Drive Feb 2012 PIET is organized by Pantipat Institute of Engineering and Technology, Haryana, India in association with HCL(Hindustan Computers Limited) Enterprise on 27th February 2012. No written test, great opportunity to appear for direct interview. Read below for more details about the placement drive and to know how to register.
» Read more: HCL Campus Recruitment Drive Feb 2012 PIET
Sankalp Semiconductor Recruitment Drive Feb 2012
February 22nd, 2012 by moses No comments »Sankalp Semiconductor Recruitment Drive Feb 2012 is Organizing by TalentBridge in association with Sankalp Semiconductor Pvt. Ltd at KITE-SOM campus, Jaipur for 2011 Passed Out Batch. Interested candidates who want to register and participate in this placement see below,
» Read more: Sankalp Semiconductor Recruitment Drive Feb 2012
C program to reverse the bits of a number
February 21st, 2012 by admin No comments »The following program reverses the bits in the input number.
» Read more: C program to reverse the bits of a number
Find number of ’1′ bits in a number
February 21st, 2012 by admin No comments »The below C program returns the number of 1′s in an unsigned int. The same code can be changed for finding the number of bits in any other datatype.
» Read more: Find number of ’1′ bits in a number
Reliance Retail Joint Campus Drive Feb 2012 MBA
February 21st, 2012 by admin No comments »Reliance Retail Joint Campus Drive Feb 2012 MBA is organized by CT Group of Institutions Maqsudan Campus, Jalandhar in association with Reliance Retail Limited (RRL) on 22nd February 2012. Candidates interested in this placement recruitment see the following details,
» Read more: Reliance Retail Joint Campus Drive Feb 2012 MBA


