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 > For Loops and While Loops Code Examples

check whether a number is Strong number or not





Program to Display Alphabets using ASCII - Printing alphabets in C Programming, is little trick. If you are good at basic data types and literals then this is easy for you. Internally C represent every character using ASCII Code.

Converts Octal Number to Binary Number - To convert octal number to binary number in C++, you have to ask to the user to enter the octal number to convert it to binary number to display the "equivalent value" in binary as

Accept Two Integers and Check if They are - Take the two integers as input and store it in the variables x & y respectively. Using if, else statements check if x is equal to y. If they are equal, then print the output as "x and y are...

Write the Number as the Sum of Numbers - Algorithm "Counts the partition" of the given number. There is no straight method to count a total number of the partition so we need to 'Generate and Count' them. Time complexity

C++ Programming Code to Reverse String - To 'reverse a string' in C++ programming, ask to the user to 'enter a string', make a variable say temp of char type "start Swapping". Place First Character of the String in temp and Last

Code Find Second largest number in Array - Code to find the largest and second largest element in an array. Step by step descriptive logic to find second largest element in array. Find second largest element of an array in C

Programs Performs Naive String Matching - C++ Program perform Naive String matching algorithm. "String Searching" algorithm is an important class of string algorithm that try to find a place where one or several strings (also

C++ Checks if an Undirected Graph is Tree - C++ Program to check whether an undirected 'graph is tree' or not. Graph is tree if it doesn't contain cycles. A recursive function that uses visited[] & parent to detect cycle in subgraph