C Programming Question Bank
C Programming Question Bank
STRINGS
1.Write a program to copy one string to another.(with/without using inbuild
function)
2.Write a program to reverse a string.(with/without using inbuild function)
3.Write a program to check a string/word is palindrome or not.
4.Write a C program to count the numbers of vowels, consonants, digits, white
spaces, special characters, and words in a given line of text.
5.Write a program that reads text from keyboard and count the frequency of
any particular character.
6.State any 5 library function in string.h along with its uses.
7.Explain string function for following operation with example.
(1)Copy n char from source string to destination.
(2)Joining of two string.
STRUCTURE
MID is an engineering platform started by scholar engineers who are experts in the field of CS.
We teach each chapter with purpose of “WHY”, “HOW” & “APPLICATIONS”
Without proper mentorship, it is tough to achieve heights in life.
due to lack of awareness, many students join unprofessional coaching classes with unprofessional self-
declared teachers. which leads to degradation of personality, mindset, skills & finally failure in job interview.
We train each of our students till 4th year of engineering in order to place them in product companies, in IIT’s
for master Programs through GATE CS/IT.
Get 3 Days free access of MID Course & Feel the difference.
Questions on Basics
S=1+1/2+1/3+1/4+1/5