This lecture note explains how to solve the following programs: sum of
individual digits of a positive integer, the roots of a quadratic equation,
programs that use both recursive and non-recursive functions, find both the
largest and smallest number in a list of integers, C program to count the lines,
words and characters in a given text, C program to generate Pascal’s triangle, a
C program which copies one file to another, C program to display contents of a
file, e C programs that uses non recursive function to search for a key value in
a given list of integers using Linear search, C programs that implements the
Selection sort method to sort a given array of integers in ascending order, C
programs that implement Queue (its operations) using singly linked list to
display a given list of integers in same order, C program to implement linear
regression algorithm, C program to implement the polynomial regression
algorithm, C program to implement the Lagrange interpolation, C program to
implement Trapezoidal method, C programs to implement Simpson method.
Author(s): Aurora’s Technological And Research
Institute
This lecture note explains how to solve the following programs: sum of
individual digits of a positive integer, the roots of a quadratic equation,
programs that use both recursive and non-recursive functions, find both the
largest and smallest number in a list of integers, C program to count the lines,
words and characters in a given text, C program to generate Pascal’s triangle, a
C program which copies one file to another, C program to display contents of a
file, e C programs that uses non recursive function to search for a key value in
a given list of integers using Linear search, C programs that implements the
Selection sort method to sort a given array of integers in ascending order, C
programs that implement Queue (its operations) using singly linked list to
display a given list of integers in same order, C program to implement linear
regression algorithm, C program to implement the polynomial regression
algorithm, C program to implement the Lagrange interpolation, C program to
implement Trapezoidal method, C programs to implement Simpson method.
Author(s): Aurora’s Technological And Research
Institute
This
note describes the following topics: Beginning With C, Input/output, Control Statements, Loops, Arrays and Strings,
Data Types, Functions, Pointers, Structures, File Manipulation.
C probably has been the most influential programming language
during the last 25 years. It was originally introduced for the implementation of
UNIX, but is now used for a large variety of very different tasks. This note
will introduce the C programming language in the context of the UNIX operating
system. It will also cover UNIX from a user and a programmer perspective.
This is a
reference manual for the C programming language as implemented by the GNU
Compiler Collection (GCC). Topics covered includes: Lexical Elements, Data
Types, Expressions and Operators, Functions, Program Structure and Scope.
This
course note provides a thorough introduction to the C programming language, the
workhorse of the UNIX operating system and lingua franca of embedded processors
and micro-controllers.
This note explains all the common features and techniques for
the C language. The coverage is pretty quick, so it is most appropriate for
someone with some programming background who needs to see how C works. Topics
include variables, int types, floating point types, promotion, truncation,
operators, control structures (if, while, for), functions, value parameters,
reference parameters, structs, pointers, arrays, the pre-processor, and the
standard C library functions.