Friday 20, July 2018
Welcome Guest, Register | Login  
      Home       Tutorials       Free Ebooks       Free Scripts       Tech News       Articles       About Us       Blog        Forum

  Convert decimal number to binary number in c

This c language program will input an integer in decimal numbers system and convert it to binary numbers system. Decimal to Binary Conversion, Convert from decimal to binary using c language.
Cut & Paste Script
#include <stdio.h>
int main()
  int n, c, k;
  printf("Enter an number\n");
  scanf("%d", &n);
  printf("%d in binary numbers system is:\n", n);
  for (c = 31; c >= 0; c--)
    k = n >> c;
    if (k & 1)
  return 0;
Check number is prime or not using c

Here is a code example to check the number is prime or not a prime number. It will input number from user. If number is prime, it will print "Number is prime" on screen and if number is not prime it will print "Number is not prime".

...more »
Category : C Programs Hits : 5599
Check the given year is leap or not using c
This program will input a year and check whether it is a leap year or not....more »
Category : C Programs Hits : 3589
Print fibonacci series using c language
Here is a c language program which will take number of terms as input from user and prints the fibonacci series using c language loops....more »
Category : C Programs Hits : 3685
concatenate two strings c language
Here is an example code to concatenate two strings using clanguage....more »
Category : C Programs Hits : 3349
Printing triangle of numbers using c
Here is the source code for printing triangle of numbers using c language. In this example user will input a number, it will start from 1 and will go to the give number.
2 3
4 5 6
7 8 9 10...more »
Category : C Programs Hits : 2852
  C Programs
C Programs scripts
  C++ Programs
C++ Programs scripts
  Java Programs
Java Programs scripts
  JavaScript Examples
JavaScript Examples scripts
  PHP Examples
PHP Examples scripts
  VBScript Examples
VBScript Examples scripts
Download Affiliate Marketing Mistakes  Ebook Affiliate Marketing Mistakes
Download List Creation Secrets Leaked Chapters  Ebook List Creation Secrets Leaked Chapters
Download 	A Beginners C++ Ebook A Beginners C++
Download Internet Marketing 101 Ebook Internet Marketing 101
Download 10 Basics For Starting Your Online Business Ebook 10 Basics For Starting Your Online Business 2018 All Rights Reserved.