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

find diameter, circumference and area of circle using function





C++ Program Codes Print Floyd's Triangle - Since Floyd's triangle is right 'angled-triangle' formed by the natural numbers. C++ program ask you to enter the range to print the Floyd's Triangle upto the 'given range'. First enter the

C++ Compute Power with pow() Function - In this 'C++' sample, you will learn to compute power to a number manually, by using 'pow()' function. Takes two numbers from the user (a base number and an "exponent") & calculates

Input Password & Validation of Username - Code accept character without echo (without displaying on Screen) getch will accept character and store it in "ch". ASCII value of "Enter Key" is 13. Stop accepting password

Shortest Path Between two Vertices Using - This is a C++ Program to check whether path exists between two given nodes. The idea is to run the 'Depth First search' algorithm with the given source node, if during 'dfs' we visit

C Programs Finds Area of Scalene Triangle - 'Scalene Triangle' does not have sides having Equal Length & No angles of Scalene Triangle are equal. To calculate Area, we need at least two sides and the angle included by them. So

Count Alphabets Digits Special Characters - C program Count total number of Alphabets, Digits or 'Special Characters' in a string using Loop. How to find total number of alphabets, digits & special characters in a string in The C

Converts Hexadecimal to Decimal Number - C program to input hexadecimal number and convert it to Decimal number. Hexadecimal number system is a base 16 number system. It uses 16 symbols to represent all number i.e.

C code simple Two Dimensional(2D) Array - Program code demonstrates how to store the elements entered by user in a 2d array and how to display the elements of a 2D array. Two dimensional array in C programming is