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

Write character to stdout: how to use fputchar





Printing ASCII Values of Characters in C++ - Placing the number in the ch variable of char type to convert the ASCII value in equivalent character to print all the ASCII values of the characters as shown here in the c++ program

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

Converting Binary Octal in C++ Language - To convert binary to octal in C++, you have to ask to the user to enter any number in binary to "convert it into octal" to display equivalent value in octal on the screen as shown in code

C Program moves the file position pointer - Zero on success or nonzero on failure. Seek from start of file. Seek from current location, seek from end of file, find proper structure, read the data into memory in c programming

Code Sum of Prime numbers between 1- n - C program to find sum of all prime numbers between 1 to n using for loop. Prime numbers are positive integers greater than 1 that has only two divisors 1 and the number itself. For

Implementing Hash Table Chaining Binary - Adding element to a node and check if node contains element. 'Adding string' in the table. Check if table contains string. Enter String to be inserted. Display table chained with binary

Read integers into an array and Reversing - We have declared one pointer variable and one array. Address of first element of array is stored inside pointer variable. Accept Size of an Array. Now we have accepted element...

Check Prime or Armstrong Number Using - In this program, two User-Defined functions checkPrimeNum() & checkArmstrongNum() are created. The checkPrimeNum() returns 1 if the number entered by the user is a Prime