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 > Beginners Lab Assignments Code Examples

Program. to find & replace any desired character from the input text.





Programs Converts Octal to Hexadecimal - To convert octal number to "hexadecimal" in C++, you have to ask to the user to enter the octal number to convert it into hexadecimal to print the equivalent value in hexadecimal

C++ Return the Structure from a Function - In this C++ example, we have "two functions" one gets the values from user, assign them to structure members and returns the structure and the other function takes that structure as

Program Find GCD (HCF) of Two Numbers - Recursive function in C language to find GCD (HCF) of two numbers. Find GCD ( Greatest Common Divisor ) or HCF ( Highest Common Factor ) of two numbers using recursion in C

Program code to Find the Size of a Union - C Define the union named sample. Declare three variables m, n and ch of different data types. Use the keyword sizeof() to find the size of a union and print the same. Initialize

Display the Nodes of Linked list in Reverse - Program to display the nodes of a Linked List in Reverse without using Recursion. Program, using iteration, Displays Linked list in reverse. Linked list is an ordered set of data elements,

Strrchr searches the string in reverse order - 'StrrChr' is similar to the function 'StrChr', the only difference is that it searches the string in "Reverse Order", would have understood why we have extra r in 'strrchr', yes you guessed it

Create Linked List & Display the Elements - C Program create a Linked List & display the elements in the list. Linked list is an ordered set of Data Elements, each containing a link to its successor. This Program is to create a

C Language Program Print Reverse Array - Print an array in reverse order, we shall know the length of the array in advance. We can start an iteration from length value of array to zero and in each iteration we can print...