Courses

C/C++ Register Now

Course Description

This course provides students with a comprehensive study of the C programming language. Classroom lectures stress the strengths of C, which provide programmers with the means of writing efficient, maintainable, and portable code. The lectures are supplemented with non-trivial lab exercises.

Benefits

  • Write C programs that are non-trivial.
  • Use the variety of data types appropriate to specific programming problems.
  • Utilize the modular features of the language.
  • Demonstrate efficiency and readability.
  • Demonstrate the use of the various control flow constructs.
  • Use arrays as part of the software solution.
  • Utilize pointers to efficiently solve problems.
  • Include the structure data type as part of the solution.
  • Create their own data types.
  • Use functions from the portable C library.

Course Outline

Getting Started

  • What is C?
  • Background
  • Sample Program
  • Components of a C Program
  • Examples
  • Data Types
  • Variables
  • Naming Conventions for C Variables
  • Printing and Initializing Variables
  • Array Examples
  • Compiling and Executing a C Program

Functions and Operators

  • Examples of C Functions
  • Functions
  • sum Invoked from main
  • Invoking Functions
  • Elementary Operators
  • The operator= Operators
  • Operators
  • The Conditional Operator
  • Increment and Decrement Examples
  • Increment and Decrement Operators

Control Flow Constructs

  • Examples of Expressions
  • if
  • if else
  • while
  • for
  • Endless Loops
  • do while
  • break and continue
  • switch
  • else if

The C Preprocessor

  • #define
  • Macros
  • #include
  • Conditional Compilation
  • #ifdef
  • #ifndef

Simple I/O

  • Character I/O
  • End of File
  • Simple I/O Examples
  • Simple I/O Redirection
  • I/O with Character Arrays

More on Functions

  • General
  • Function Declarations
  • Returning a Value or Not
  • Function Prototypes
  • Arguments and Parameters
  • Organization of C Source Files
  • Extended Example
  • The getline Function
  • The strcmp Function
  • The check Function
  • The atoi Function
  • The average Function
  • Summary

Bit Manipulation

  • Defining the Problem Space
  • A Programming Example
  • Bit Wise Operators
  • Bit Manipulation Functions
  • Circular Shifts

Strings

  • Fundamental Concepts
  • Aggregate Operations
  • String Functions

Higher Dimensional Arrays

  • Array Dimensions
  • An Array as an Argument to a Function
  • String Arrays

Separate Compilation

  • Compiling Over Several Files
  • Function Scope
  • File Scope
  • Program Scope
  • Local static
  • register and extern
  • Object Files
  • Libraries
  • The C Loader
  • Header Files

Pointers

Structures

File I/O

I/O With Structures

Useful Library Functions

Important Header Files

printf Formats

Conversion

Precedence Chart

Register Now

Contact Us


Name:
Mobile No.:
Email ID:
Message:
 

Send Email to Us


Name:
Mobile No.:
Email ID:
Message: