Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


C Programming Code Examples

C > Functions Code Examples

C program to print even or odd numbers in given range using recursion





C Program to Add two Complex Numbers - This C Program adds two complex numbers. A Complex Number is a number that can be put in the form a + bi, where a and b are real numbers & i is called imaginary unit, where...

Coordinated Universal Time in C Language - C program code returns time in Coordinated Universal Time (UTC) (essentially Greenwich mean time). Printing the local time and date. Printing coordinated Universal Time and date

C Program Computes Factorial of number - The Factorial of a Positive Number n is given by: factorial of n (n!) = 1*2*3*4...n. Factorial of a negative number doesn't exist. And, the factorial of 0 is 1, 0! = 1. The program takes a

Program Shows & Opens "Send to" folder - C++ program that opens the "Send to" folder. The "Location of this folder" can be obtained from SHGetSpecialFolderLocation(). Then sf tries to convert the Item Identifier to a string

C++ Language Using the main() Function - The "main() function" is called when the c++ program starts after initialization of the non-local objects with static storage duration. It's the primary entry point of any C++ Program

Programs Performs Naive String Matching - C++ Program perform Naive String matching algorithm. "String Searching" algorithm is an important class of string algorithm that try to find a place where one or several strings (also

Find Angles of triangle if two angles given - C Program to input two angles from user and find third angle of the triangle. How to find all angles of a triangle if two angles are given by user using C programming. Sum of angles of

C++ Coding Add Two Numbers by Pointer - To add two numbers using pointer in the C++, you have to enter the 2 number, then make 2 'pointer' type variable of same type say *ptr1 and *ptr2 to initialize the address of both the