
Course Highlight
- Advanced C Programming course will be delivered by our Founder/Director who is an Expert with 15+ years of experience in Linux Kernel and SAN software development. The C training flow will be an assignment driven model so that participants can develop an expert level C programming skills.
- Participants will be writing lots of C programs dealing with operator precedence, conditional constructs, strings, pointers, arrays, arrays & pointers, double pointers, function pointers, pointers to arrays, internal storage for various data-types, creating in memory data-structures, bit-field operators, recursions, function call and stack formation, standard file I/O library, buffered IO, etc.
- Lectures, Classroom Discussions and C Programming Lab Exercises
- 30% Theory, 70% Lab
- Location: Bangalore, India
Basic knowledge of C with a deep desire to learn C programming in depth.
IT Professionals and/or Students who want to become a serious Developer
Click Here for Advanced C Programming course training schedule, fee and registration information
|
The C Language C Program Compilation Execution Process Tokens of C Program C Instructions Constants, Variables Identifiers and Keywords Primitive Data Types Structures – The Definition Structures – Declaration & Type Accessing Elements of Structure Unions – Practical Example of Unions Enumeration Typedef Statements Practical example of Typedef Usage Bit-Fields in Structure Practical examples of Bitfield Usage Structure Padding & Pitfalls Programming Model & Memory Sizes IA-32, IA-64, ILP-32, LP64, x86-64 Array – Representation Array – Memory Allocation Array – Declaration & Initialization Two Dimensional Arrays Pointers Computing Basic Operators |
Storage Classes Storage Class Specifiers Scope of a Variable Register, Auto, Static, Extern Const & Volatile Practical Example of Volatile Usage Lifetime of a Variable Type Qualifiers Memory Functions & Pointers Preprocessor Command Line Argument Standard I/O Library |
Sample C Assignments for Discussion/Memory-Diagram/Labs in Advanced C-Class
1. Comment on the output of following code:
#include <stdio.h>main()
{char *p = 0;
*p = 'a';
printf("value in pointer p is %c\n", *p);
}
a) It will print a
b) It will print 0
c) Compile time error
d) Run time error
View Answer
Output:
$ cc pgm.c
$ a.out
Segmentation fault (core dumped)
2. What is the output of this C code?
#include <stdio.h>main()
{if (sizeof(int) > -1)
printf("True");
elseprintf("False");
}
a) True
b) False
View Answer
Output:
$ cc pgm.c
$ a.out
False
3. What is the output of this C code?
#include <stdio.h>main()
{char *p = "Sanfoundry C-Test";
p[0] = 'a';
p[1] = 'b';
printf("%s", p);
}
a) abnfoundry C-Test
b) Sanfoundry C-Test
c) Compile time error
d) Run time error
View Answer
Output:
$ cc pgm.c
$ a.out
Segmentation fault (core dumped)
4. What is the output of this C code?
#include <stdio.h>int main()
{float f = 0.1;
if (f == 0.1)
printf("True");
elseprintf("False");
}
a) True
b) False
View Answer
Output:
$ cc pgm.c
$ a.out
False
5. What is the output of this C code?
#include <stdio.h>main()
{int n = 0, m = 0;
if (n > 0)
if (m > 0)
printf("True");
elseprintf("False");
}
a) True
b) False
c) No Output will be printed
d) Run Time Error
View Answer
Output:
$ cc pgm.c
$ a.out
$
Fee, Schedule & Registration
Click Here for Advanced C Programming course training schedule, fee and registration information
Manish Bhojasia, a technology veteran with 17+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He is Linux Kernel Developer and SAN Architect and is passionate about competency developments in these areas. He lives in Bangalore and delivers focused training sessions to IT professionals in Linux Kernel, Linux Debugging, Linux Device Drivers, Linux Networking, Linux Storage & Cluster Administration, Advanced C Programming, SAN Storage Technologies, SCSI Internals and Storage Protocols such as iSCSI & Fiber Channel. Stay connected with him below.
Register for Expert Level Training Classes by our Founder & CTO. Alternatively, call us for your Corporate Training or College Training needs.
















