# C Programming Code Examples

## C > Linked Lists Code Examples

### Print the Alternate Nodes in a Linked List without using Recursion

C++ Programming Encrypt & Decrypt File -
To encrypt & decrypt file content in C++, you have to enter the file name with extension to encrypt & decrypt the content present inside the file. Now open that file using the function

C Add Two Numbers using Command Line -
Write a C Program. Open 'command prompt' inside Borland C/C++ and Click on DOS Shell. Inside command prompt type this command. Type "exit" command to return to C++ Screen

Check a Given Number is Perfect Number -
This C program code checks whether a given number is perfect number. Perfect number is a number which is equal to sum of its divisor. For eg,divisors of 6 are 1,2 and 3. The sum of

Code convert numbers to roman numerals -
Take a decimal number as input. Check if the number is greater than 1000 or 900 or 500 or 400 or 100 or 90 or 50 or 40 or 10 or 9 or 5 or 4 or 1. If it is, then store its equivalent roman...

C++ Samples for Constructor Overloading -
"Constructor" is automatically called when an object create. It is "special member function" of the class. Variable declaration, constructor without argument, and which constructor has

C++ Language Add Digits of any Number -
To add digits of any number in C++, we enter the number to add their digits & displays the "Addition Result" of the digits of the entered number on the output screen as shown here

C Language Finding the Sum of G.P Series -
C Language program is used to Find the Sum of the geometric progression series. Here G.P stands for geometric progression. Geometric progression, or GP, is a sequence where each

Checking the Number is Armstrong or Not -
To check whether a number is an 'Armstrong' number or not an Armstrong number in 'C++' Language, 'enter the number', now check for the Armstrong number, whether the entered