Logic
Loom
Decision making and Looping Statements
Open Menu
Getting Started With C
Home
Chapter 1
Where do we use C?
Importance of C
History of C
Problem Solving
Algorithm
Algorithm Design
Flow Charts
Problems
Algorithm,Flowchart
Pseudocode
High Low Level lang
Language Processors
Source code,obj code
Structure of C
Linker Vs loader
pop vs oop
Compiler,interpreter
Chapter 2
Character set
C tokens
Keywords
Constants
Variables
Data types
Declare Variables
Initializing Var
Symbolic Constants
Var as Constant
var as Volatile
Formatted input
Formattted output
Operators
Arithmetic Operator
Relational Operator
Logical Operator
Assignment operator
Conditional operator
Bitwise operator
Special Operator
Evaluation of expr
Precedence
Type Conversion
Pre-processor
Header files
I/O functions
Chapter 3
Decision making
Simple if
if else
Nested if else
else if ladder
switch statement
? operator
goto Statement
while
do while
for loop
Jumps in loops
Concise Test Exp
Practice sheet1
Chapter 4
Arrays
1D array
1D array
2D array
Multidimensional arr
Dynamic array
More about arrays
Character array
String variables
Reading Strings
Writing Strings
AO on characters
Concatenate Strings
Comparing strings
String handling
Table of strings
Features of strings
Chapter 5
functions
Need for UFD
Multi-Function
Elements of UDF
Defining a function
Return values
Declaring a function
Category of function
with args & no RV
With args and RV
No args & with RV
Array to Function
Strings to functions
Scope, visibility
Chapter 6
Structures
Defining a structure
Declaring Structure
Accessing Structure
Operations on member
Nested Structure
Array of structures
Array within struct
Struct within struct
Structure & function
Unions
Initial structure
copy struct variable
size of structures
Bit Fields
Recursion
Multifile programs
Function call
File Management in C
I/O ops on files
Error Handling
Random Access
Command line args
Desicion making statements
In C, decision-making statements are technology structures enabling programmers to make decisions based on specific conditions or criteria.
Decision making statements also known as conditional statements.
Loop statements
Looping statement are the statements execute one or more statement repeatedly several number of times.
In C programming language there are three types of loops; while, for and do-while.
Resources :
Assess Your Understanding
Answer the following Two questions:
Q1.
Choose a right C Statement.
A. Loops or Repetition block executes a group of statements repeatedly
B. Loop is usually executed as long as a condition is met
C. Loops usually take advantage of Loop Counter
D. All the above
Q2.
Which loop is faster in C Language, for, while or Do While?
A. for
B. while
C. do while
D. All work at same speed
Prev
Next