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

Odd printing program in C language





C++ Compute Combinations by Factorials - Prints a total number of combination possible for given n and r value. The "time complexity" of this algorithm is O(n). This algorithm takes the input of n and r value. Function to find the

Check the Alphabet is Vowel or Consonant - C program takes the Character value as input and checks whether that character is a vowel or consonant using if-else statement. Since a user allowed to enter an alphabet Lowercase

Program Checks if Number is Even or Odd - If a number is exactly divisible by 2 then its an even number else it is an odd number. In this we have shared 2 ways to check whether the input number is even or odd. Using Modulus

C Number of Days in a Month Switch Case - Find number of Days in a Month using switch case - best approach. Lets Observe the above program carefully for a moment. In the above program we are performing same action on...

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

Sum of each Row and Columns of a matrix - C program to read elements in a matrix and find the sum of elements of each row and columns of matrix. C program to calculate sum of rows and columns of matrix. Input...

C Programming code Find largest number - C language program code depending upon the number of elements, the required size is allocated which prevents the wastage of memory. If no memory is allocated, error is

Arithmetic, Assignment, Logical, Bitwise - Arithmetic operators: +, -, *, /, %, addition, subtraction, multiplication, division, modulo. Assignments operators in C++ are: =, +=, -=, *=, /=, %=. Auto increment and decrement