W e b t u t o r i a l s

Programing Approach

Algorithm, Flow Chart

Define C

Define Programming

C - Syntax

C - Variables

C - Keywords

C - Data Types

C - Comments

Turbo C - Shortcut keys

C - Operators

Hierarchy of Operators

Ex: Arithmetic Operator

Control Structure

Control Structure - if

Ex: If condition

Ex: Inc / Dec Operator

C - loops

Ex: Loops

C - Nesting Of loops

Ex: Nested Loops

Constant Variable

C - Escape Sequence

C - Arrays 1D, 2D

C - Sorting

ASCII Value

Character I/O Function

C - Strings

Ex: Strings

Array of Strings

C - Math Functions

C - Functions

C - Types of Functions

Storage Class

C - Header Files

C - Preprocessor

C - Pointers

C - Structures

Typedef File Handling

Command Line Argument

MCQ

Exercise questions on Strings in C

  1. Input 'ANKIT'
    Output:
    A
    AN
    ANK
    ANKI
    ANKIT
  2. Input string and find string is palindrome or not.
  3. Input string and count number of vowels.
  4. Input sentence and count blank spaces, tabs, lines, characters and words.
  5. Trim all the spaces in between the sentence.
  6. Replace 2 or more blank spaces with a single blank.
  7. Input String and Print each character of every word.
  8. Input ANKIT
    Output: ATNIK
  9. Find the largest word from the input sentence.
  10. Find the smallest word from input sentence.
  11. Input a name and display in alphabetically order. eg: input "oxford" output "dfoorx"
  12. Remove the multiple occurrences of characters from a string.
  13. Solve the following program without using string function

  14. Find String length
  15. Conver into lower/upper case
  16. Reverse the string
  17. Copy string
  18. Append string
Input 10 names in array and sort them in ascending order. Take only first character of the names for sorting.
Input 10 names in array and sort them in descending order. Take only first character of the names for sorting.
Input a data type and display its size in bits.