C language| single dimension character array programs

Character array

Single dimension character array

char n[20];

n is string/ character array which can take input for 19 characters (1 location is reserved for (‘\0’) NULL char)

In single dimension character array we have following programs:

C Program to take input for a string and display it in the given format? And display length of string?
N=”hello”
o/p
h
e
l
l
o
C Program to take input for a string and display it and also print total lower case alphabets in the string?
C Program to take input for a string and display it and also print total upper case alphabets in the string?
C Program to take input for a string and display it and also print total digits in the string?
C Program to take input for a string and display it and also print total vowels in the string?
C program to take input for a string and display it in the given format? and also print the following:
a. total length i.e. total characters
b. total alphabets
c. total upper case alphabet
d. total lower case alphabets
e. total digits
f. total spaces
g. total special characters

C program print to print reverse of a string
C Program to take input for a string , further take input for a character to search , check and print whether the character is present in the string or not?

C program to Search a character in string and count it

Number Of Visitors

0238207