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 > Strings Code Examples

C Program to Sort set of strings in alphabetical order using strcmp()





Types of functions in The C Programming - Predefined standard library functions - such as puts(), gets(), printf(), scanf()... These are the functions which already have a definition in header files (.h files like stdio.h), so we just

Code Nonzero If ch is a White-Space Char - C Programming Language codings to returns nonzero if ch is a white-space char, including space, horizontal tab, vertical tab, formfeed, carriage return, newline character; otherwise

C++ Generating All Subsets of a Given Set - Program print all the possible combination of each length from the given array in gray code order. The 'time complexity' of this algorithm is 'O(n*(2^n))'. This algorithm takes the input

C Programs Finds Upper Triangular Matrix - C program to read elements in a matrix and check whether the matrix is upper triangular matrix or not. Check upper triangular matrix. To check whether a matrix is upper triangular

Check whether a number is Prime number - Prime numbers are positive integers greater than 1 that is only divisible by 1 and self. For example: 2, 3, 5, 7, 11 etc... C program input number and check whether the number is...

Program Convert Decimal to Hexadecimal - C Language Program code to take a decimal number as input and store it in the variable decimalnumber. Initialize the variable j=0 & copy decimalnumber to variable quotient.

Program Convert Lowercase to Uppercase - To convert the uppercase string to lowercase string in 'C++', ask to enter a string, now start converting Lowercase to Uppercase by using ASCII values. To convert Lowercase String to

C Program Converts Strings to LowerCase - Program code to 'convert' uppercase string to lowercase using for loop. First check whether the given character is 'uppercase' alphabet or not. If it is Uppercase Alphabet just add 32 to