Pages

Sunday

Program to Find Length of String in C

Here's a C program to find the length of the given string with output and explanation. This program makes use of C concepts like For loop and gets Function in C.

Tuesday

Checking the Given Number is Armstrong or Not using C | C Program

Here's a C program to find the given number is Armstrong or not with output and proper explanation. This program also uses C while loop and modulus.

Wednesday

Program to Find the Given Number is Perfect Number or not in C | C Program

Here's a c program to find the given no. is perfect no. or not with output and proper explanation.

Monday

Program for Reversing an Integer in C | C Program

Here's a C program to reverse an integer with output and proper explanation. This program uses while loop.

Wednesday

Program to Find the Sum of Fibonacci Series in C | C Program

Here’s a C program to find the sum of Fibonacci series with output and proper explanation. The program uses for loop.

Saturday

Program to Print all the Divisors of a Given Number | C Program

Here’s a C program to print all the divisors of a given number with output and proper explanation. This program uses for loop. 

Thursday

How to swap two numbers using three variables in C

Here's a program to swap two numbers using three variables with explanation using C Programming language.

Sunday

How to swap two numbers using only two variables in C

Here's a program to swap two numbers using only two variables with explanation using C Programming language.

Friday

Program to Perform Various String Operations on a Given String in C

Here is a C program to perform different manipulations on a given string. This program encapsulates different operations provided by C language on a String e.g.
  • finding length of a string
  • converting a string to uppercase or lowercase
  • reversing a string
  • concatenating of two strings
  • copy one string to another string
This program uses C concepts like  Array, Gets Function and String Functions like string length (strlen()), string copy (strcpy()),strcat(), strrev(), strlwr() and strupr().

Program to Concatenate the Given Two Strings in C

Here is a C program to concatenate two strings using C function strcon(function). This program uses C concepts like For Loop in C, Auto Incrementing Operator ++ and Auto Decrementing Operator --.

Program to Count Vowels, Consonants, Digits, Specials and Words in a String in C

Here is a C program for Counting vowels, consonants, digits, special characters & words in a given string. This program uses C concepts like While Loop, Strings in C, Gets Function. This program also uses

What is CTYPE.H Header in C Programming Language?

Overview of CTYPE.H header in C Language

This header declares a set of functions which deals with individual characters of a String. The functions could be used to either classify characters e.g. whether a character is alphanumeric, blank, space or a control character or it could be used to perform some transformation on individual characters e.g. change a character to upper/lower case.