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

Program to find reverse of a string using strrev() function

Program Implement the Vizing's Theorem - The chromatic index of the simple graph can be either 'maxDegree' or maxDegree+1. The chromatic index is the maximum number of color needed for the 'edge coloring' of graph.

Bubble Sorting on int array in C Language - C program bubble sorting code on int array. Reading in numbers. Sorting them using a bubble sort. Comparing adjacent elements. Exchange elements. Display sorted list.

Program Code find First Digit of a number - Finding the first digit of any number is little expensive than last digit. To find first digit of a number we divide the given number by 10 until number is greater than 10. At the end...

Implementing Hash Table Double Hashing - Genereate first "Hash" and genereate second hash. Initialize table and "Find" element from the table. Function to insert element into the table. Function to rehash the table. Retrieve

C++ Codings Rules of Declaring Variables - A variable name can consist of Capital letters A-Z, lowercase letters a-z, digits 0-9, and the underscore character. First character must be a "letter or underscore". Blank spaces cannot

C Sample Code Function Call by Reference - What is function call by reference in C? When we call a function by passing the addresses of actual parameters then this way of calling the function is known as call by reference. In call

Check if String is Empty or Not in The C++ - You can use the 'empty()' function of string to determine whether a string is empty or not. If a string is empty, function empty() will return true otherwise false. The string class provides

How to Call a Function using this Pointers - How to declare a function pointer and how to call a function using this pointer in C. We can have concept of Pointer to a function known as function pointer in C. In this C tutorial, we