Search our courses
Training

This C Programming training 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.
Students will develop the ability to design and write programs in the C programming language.

C Programming

Course Code

GTPL9

Duration

5 Days

Course Fee

POA

Accreditation

N/A

Target Audience

  • Programmers new to the ANSI C language.

Attendee Requirements

  • Programming skill in a language such as Pascal, COBOL, BASIC, or assembler.

Expand all

Course Description

This C Programming training 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.
Students will develop the ability to design and write programs in the C programming language.

Course Outline

1. Course Introduction
Course Objectives
Course Overview
Suggested References

2. Introduction to C
What is C?
Features of C
Why Program in C?
History of C
Current Status and Future

3. An Overview of C
The First Program (hello.c)
How to Compile and Run a C Program
An Arithmetic Program (roof.c)
Execution Flow Co
ntrol (mph.c)
The for Loop
The for Loop -Diagram
Character I/O
A File Copier Program (cp2.c)
A Character Counter (wc2.c)
A Look at Arrays
Stock Values (stock1.c)
The char Data Type
Strings (Character Arrays)
A String Copy Program (stringcp.c)
A Look at Functions
A Functional Program (func1.c)
A Review of printf()

4. Data Types and Variables
Fundamental Data Types
Data Type Values and Sizes
Variable Declarations
Variable Names
Constants
Character Constants
String Constants

5. Operators and Expressions
What are Expressions?
Arithmetic Operators
Relational Operators
Assignment Operator
Expressions Have Resulting Values
True and False
Logical Operators
Increment and Decrement Operators (++ and --)
Increment and Decrement Operators: Examples
'Operate - Assign' Operators (+=, *=, ...)
Conditional Expression
Operator Precedence
Precedence and Order of Evaluation
Evaluation of Logical Operators
Type Conversions
The Cast Operator
Bitwise Logical Operators

6. Control Flow
Statements
if - else
if() - else if()
switch()
while()
do - while()
for()
The for Loop - Diagram
Example: for() Loop
Another Example: for() Loop
The break Statement
The continue Statement

7. Functions
What is a Function?
Example: findbig3()
Why Use Functions?
Anatomy of a Function
Example: find_big_int()
Arguments Passed by Value
Addresses of Arguments Can Be Passed
A Picture of Addresses and Values
When to Use the Return Statement
Returning Non - Integer Values
Functions in Multiple Source Files
A Simple make File
The Concept of Variable Scope
Automatic Variables
Global (External) Variables
Static Variables
External Static Variables

8. The C Preprocessor
Symbolic Constants
Macro Substitution
File Inclusion

9. Pointers and Arrays
What is a Pointer?
Pointer Operators
Example: Pointers
Why Use Pointers?
Arrays
Arrays (a Picture)
The & Operator
Pointers and Arrays
Pointer Arithmetic
Pointer Arithmetic (a Picture)
Arrays and Pointers
Array Names are Constant Pointers
Passing Arrays to Functions
Initializing Arrays

10. Advanced Pointers
Pointer Initialization
Command - Line Arguments
Strings and Character Pointers
Arrays of Pointers
Access Through Pointers
Functions and Pointers
Example: Functions and Pointers

11. Structures
Structures
Comparison of Structures and Arrays
Structure Definitions
Structure Declarations
Structure Parameter Passing by Reference
Pointers to Structures
Structure Parameter Passing Again
Arrays of Structures
The malloc Routine

12. Appendix (also discussed if time allows)
File I/O in C
File Streams
Predefined Streams
The fprintf Function
The fscanf Function
fscanf() Examples
The fputs and fgets Functions
The fwrite and fread Functions
System I/O

Learning Path
Ways to Attend
  • Attend a public course, if there is one available. Please check our Schedule, or Register Your Interest in joining a course in your area.
  • Private onsite Team training also available, please Contact Us to discuss. We can customise this course to suit your business requirements.

Private Team Training is available for this course

We deliver this course either on or off-site in various regions around the world, and can customise your delivery to suit your exact business needs. Talk to us about how we can fine-tune a course to suit your team's current skillset and ultimate learning objectives.

Private Team Training | Contact us

Technical ICT learning & mentoring services

Private Team Training

Our instructors are specialist consultants with vast real world experience and expertise allowing them to design and deliver client-focused courses for your organisation.

Learn more about our Private Team Training

What Our Clients Say

"Absolutely fantastic training. Thoroughly enjoyed it thanks to our highly enthusiastic tutor.  It wouldn't be an understatement to say that it was the best professional training that I have ever received."

 

Customised Linux with Networking

Live Online -  February 2022

 

"The course content was very good. When needed, the Instructor was extending the content of the course with hints and tips to help us understand different topics that were covered in the course."

 

Kubernetes Administration Certification - GTLFK

Live Online June 2021

 

 

 

“The course was held at the highest possible standards, the instructor was excellent, well prepared, well informed, and clearly an SME. Top marks.”

 

Professional Cloud Service Manager - GTC13

Live Online December 2021

 

“Very engaging and practical course so hope to be able to put the learning into practice.”

 

Being Agile in Business - GTBAB

Live Online September 2021

 

“Great instructor, who encouraged active participation. The breakout groups and exercises kept the group engaged and the content relevant to our own products”.

 

Site Reliability Engineering Foundation - GTDSRE

Live Online January 2022

 

 

 

"Intelligence is the ability to avoid doing work, yet
getting the work done"

Linus Torvalds, creator of Linux and GIT

Technical ICT learning & mentoring services

About GuruTeam

GuruTeam is a high-level ICT Learning, Mentoring and Consultancy services company. We specialise in delivering instructor-led on and off-site training in Blockchain, Linux, Cloud, Big Data, DevOps, Kubernetes, Agile, Software & Web Development technologies. View our Testimonials

Download our eBrochure
Our Accreditation Partners
  •  
  •  
  •  

 

Upcoming Courses

Kubernetes Administration

28th - 31st May 2024

11th - 24th June 2024

18th - 21st June 2024

 Live Online

 

This Kubernetes Administration Certification training course is suitable for anyone who wants to learn the skills necessary to build and administer a Kubernetes cluster

Learn More

RUST

28th - 31st May 2024

11th - 14th June 2024

18th - 21st June 2024

 Live Online

This course will help you understand what Rust applications look like, how to write Rust applications properly, and how to get the most out of the language and its libraries.

Learn More

Introduction to Python 3 

7th - 9th May 2024

4th - 6th June 2024

 

Live Online

This Introduction to Python 3 training course is designed for anyone who needs to learn how to write programs in Python or support/modify existing programs.

 

Learn More

 GO LANG TRAINING

28th - 31st May 2024

11th - 14th June 2024

18th - 21st June 2024

 

Live Online        

 

This Go language programming training course will help you understand how Go works, and immediately be more productive. If you are building a team using Go, this will be a great opportunity to get your team on the same page and speaking the same language. Innovative lab exercises and code samples are provided to reinforce skills and quickly master the topics.

Learn More

Newsletter

Stay up to date, receive updates on scheduled dates, new courses, offers, and events.

Subscribe to our Newsletter