Archive for the ‘SPECIAL CODE’ Category

C Program to Print HELLO WORLD Without Using Semicolon

November 11, 2010

↑ Vote This Article

After Program to Print HELLO without HELLO , here is another program to print HELLO WORLD Without Using Semicolon (;).

To see the output:  compile the code by Ctrl+F9 and then run it by  Alt+F5 (more…)

C++ Program to Convert Digits to its Equivalent Words

November 6, 2010

↑ Vote This Article

Here is another tricky code, where we can Convert Digits to its Equivalent Words.

the program work till 5 digits of number

suppose the Input is: 12345

then the Output will be:  OneTwoThreeFourFive (more…)

C Program for Multiplication without Using Multiply Operator *

November 3, 2010

↑ Vote This Article

Here is another program from the series tricky code. Here I am going to show you how we can do Multiplication without using Multiply Operator *. Programs like this you will rarely get anywhere else.

Comment below to express your feeling  and suggest me new idea for more tricky code.

Logic of the code:

First you give a try to think the logic.

Here is the answer,

Let a and b are two variables then c=axb. We take 9 as a and 8 as b then c=72.

In other word we are adding 9, 8 times or adding 9, 8 times,  so simple logic. This is what I converted into programing. (more…)

Program for Calender

November 2, 2010

↑ Vote this Article

here is a c++ program for calender. where u can find any date up to year 32500 ..

copy this code and save it as calender.cpp.. (more…)

C Program to Print HELLO without HELLO

October 31, 2010

↑ vote this article

Here is i am starting a new series of programs, where we will do coding in a tricky way..

Here we are going to print HELLO without using any of the later from the HELLO, anywhere in the programing. Just think before proceeding further how we can do this..

Well here is the answer; here we are using ASCII CODE of the character to print HELLO. (more…)

To print pyramid output

September 19, 2010

To Print Output like
*
**
***
****
*****
****** (more…)