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 on Nested Loop

  1. WAP to find factorial of 1st 10 numbers.
  2. Print Prime number in a given range.
  3. Find composite numbers between 2 to 1000.
  4. Generate the series:
    1
    12
    123
    1234
    12345

  5. 12345
    1234
    123
    12
    1

  6. 1
    12
    123
    1234
    12345
    1234
    123
    12
    1

  7. 54321
    4321
    321
    21
    1

  8. 54321
    5432
    543
    54
    5

  9.       1
         12
       123
     1234

  10. *
    * *
    * * *

  11.     *
       * *
      * * *
       * *
        *

  12. A B C D E
    A B C D
    A B C
    A B
    A

  13. A
    A B
    A B C
    A B C D
    A B C D E

  14. 1 1 1 1 1
    1 0 0 0 1
    1 0 0 0 1
    1 0 0 0 1
    1 1 1 1 1

  15. Generate:
    - - - - -
    + - + - +
    - + - + -
    + - + - +
    - - - - -
  16. Print the following pattern if the line input is 5.
    ABCDEDCBA
    ABCD  DCBA
    ABC       CBA
    AB           BA
    A               A
  17. Find sum of series: 1 + x + x2 + x3 + ... xn
  18. c program
  19. series program
  20. Sin(x) = x – (x3 / 3!) + (x5 / 5! ) – (x7 / 7! ) + …