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 > Code Snippets Code Examples

Free disk space : Windows 95 and 98





Check Prime or Armstrong Number Using - In this program, two User-Defined functions checkPrimeNum() & checkArmstrongNum() are created. The checkPrimeNum() returns 1 if the number entered by the user is a Prime

Test Using DFS Whether a Directed Graph - This C++ Program checks whether a directed graph is weakly connected or not. We can do "DFS" V times starting from every vertex. If any DFS, doesn't visit all vertices, then graph

C If a given Integer is Positive or Negative - Take the integer which you want to check as input and store it in a variable number. Using if, else statements check whether the integer is Greater or Lesser than zero. If it is greater...

Find k Numbers closest to Median of the S - Firstly We need to find k numbers which have a minimum difference with the median of the data set. It includes sorting using 'Quick Sort' and then printing k numbers as a result. Time

C Diameter Circumference & Area of circle - C Functions to find Diameter, Circumference and Area of circle. First assign a meaningful name to all the three functions. Say function to calculate diameter, circumference & area

C Code Rotate left rotate an Array n times - C program code to left rotate an array by n position. Logic to rotate an array to left by n position in C program. Read elements in an array say arr. Read number of times to rotate

C program code insert an element in array - Code insert an element in array at specified position. Insert element in an array at given position. The program should also print an error message if the insert position is invalid.

C++ Program Coding Multiply 2 Numbers - In this c++ program, user enter two numbers ('floating point numbers'). Then, the product of those two numbers is 'stored' in a variable and displayed on the screen. The 2 numbers