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 > Pyramid Patterns Code Examples

Program to Print prime number Pyramid

Checks If an Integer is Odd or Even In C++ - A formal definition of an even number is that it is an integer of the form 'n = 2k', where k is an integer; it can then be shown that an odd number is an integer of the form "n = 2k + 1".

Addition Operation use Bitwise Operators - C++ Program perform addition using bitwise operators. Using "AND" and "XOR" operators addition can be done, where carry is given by "AND" between two operands and result can

Use Infinite While Loops in C++ Language - This Loop would never end as 'decrementing' the value of i which is 1 so the condition i<=6 would never return false. A "While Loop" that never stops is said to be "Infinite While Loop",

Program to Accept Paragraph using scanf - Here scanf will accept characters entered with spaces. It also accepts the Words, new line characters. Represent that all characters are accepted except tab(t), whenever t will

Program Finds Prime Factors of a Number - Factors of a number that are prime numbers are called as "Prime Factors" of that number. For example: 2 and 5 are the prime factors of 10. Logic to check prime factors of a number.

C++ Decrement -- Operator Overloadings - Increment ++ and decrements -- operator are overloaded in best possible way, increase the value of a data member by 1 if "++" operator operates on an object and 'decrease' value of

Program to Check Whether Graph is DAG - This is a C++ Program code to check whether graph is DAG. In mathematics and computer science, a directed acyclic graph, is a directed graph with no directed cycles. It is formed by

C Code Selection Sort Method by Function - C Program implements selection sort method using functions. 'Selection' Sort is among the simplest of Sorting Techniques. Lets first find the smallest in the array and exchange it with