Skip to main content

Generation of Binary Code using C


This is a simple C source code, written in g++ platform (Ubuntu, Linux). This is a process to generate Equivalent Binary numbers of decimal values. Here, you have to Push values in stack at first, (Sequentially in decreasing order, e.g 4, 3, 2, 1), then it will generate a palindrome sequence (Length will be [2^n]-1 for given n numbers). Then you will show Binary numbers of maximum n bit. This is very easy to understand. Hope you will be helped by it.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Add new comment

This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.