Category: C Program

C programs, C code quiz

C Program to swap two integers

Swap two number using a third variable.



C Program to see use of long, short

Program to see size of short/long basic data types.


C Program to find ASCII value of a character

Program to display ASCII value of input character.


C Program to multiply two numbers

Multiply two integers hard coded in program.

Output :...

C Program for adding two numbers

The numbers are hard coded in program.