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 > If Else and Switch Case Code Examples

C Program to check if number is even or odd





Program Code Convert Decimal to Binary - To convert the Decimal Number into Binary, Check First MSB bit of number, if it is 1 then display '1' otherwise display '0'. C Language program is just to know the size of integer...

C program using of strtok() output words - Use of strtok() in C Programming Language. Skip lines shorter as. split string into tokens, return token array. Make sure, copy string to a safe place. Always keep the last entry NULL

The C++ Booth's Multiplication Algorithm - "Multiply two Signed numbers" using Booth's algorithm. Booth's multiplication algorithm is a multiplication algorithm that multiplies two signed 'binary numbers' in two's complement

Display the Nodes of a Tree BFS Traversal - C Program Display the Nodes of a Tree using BFS Traversal. Breadth-first search (BFS) is a strategy for searching in a graph when search is limited to essentially two operations: (a)...

Code Print Binary Equivalent of an Integer - Print "binary equivalent" of an integer. C code using recursion, finds the binary equivalent of a "Decimal Number". Decimal numbers are of base 10 while "Binary Numbers" are of base 2

C++ Codes Finds Sum of Natural Numbers - The "positive numbers" 1, 2, 3... are known as natural numbers. The program below takes a 'positive integer' from the user and calculates the sum up to the given number. You can find

Program Code Calculates the Value of nCr - This C Program to Calculates the value of nCr. The algorithm used in this program is nCr = n! /((n-r)!r!) and We need to Find all the Possible combination of the value n&r. A combination

Merge Sort Linked list Code in C Language - Add a node to the linked list. Preform merge sort on the linked list. Merge the lists. Insert some numbers into the linked list. Sort the list. Print the list. Free the list. Add a node to