0% found this document useful (0 votes)
3 views7 pages

c Programming Language (1)

This document provides a comprehensive overview of the C programming language, covering its introduction, features, and standards. It includes detailed sections on variables, data types, input/output, control statements, functions, arrays, pointers, user-defined data types, storage classes, memory management, preprocessor directives, file handling, and miscellaneous topics. Additionally, it features a section on commonly asked interview questions related to C programming.

Uploaded by

mvmgayathridevi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views7 pages

c Programming Language (1)

This document provides a comprehensive overview of the C programming language, covering its introduction, features, and standards. It includes detailed sections on variables, data types, input/output, control statements, functions, arrays, pointers, user-defined data types, storage classes, memory management, preprocessor directives, file handling, and miscellaneous topics. Additionally, it features a section on commonly asked interview questions related to C programming.

Uploaded by

mvmgayathridevi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

C- PROGRAMMING LANGUAGE

1
C Basics #1

2
1. C Language Introduction
2. Features of C Programming Language
3. C Programming Language Standard
4. C Hello World Program
5. Compiling a C Program: Behind the Scenes
6. C Comments
7. Tokens in C
8. Keywords in C
9. Identifiers

 C Variables and Constants #2


1. C Variables
2. Constants in C
3. Const Qualifier in C
4. Different ways to declare variable as constant in C
5. Scope rules in C
6. Internal Linkage and External Linkage in C
7. Global Variables in C

 C Data Types #3
1. Data Types
2. Data Types in C
3. Literals in C
4. Escape Sequence in C
5. bool in C
6. Integer Promotions in C
7. Character Arithmetic in C
8. Type Conversion in C

 C Input/Output #4
1. Basic Input and Output in C
2. Format Specifiers in C

3
3. printf in C
4. scanf in C
5. Scansets in C
6. Formatted and Unformatted Input/Output functions in C with Examples
7. C Operators
8. Operators in C
9. Arithmetic Operators in C
10. Unary operators in C
11. Relational Operators in C
12. Bitwise Operators in C
13. C Logical Operators
14. Assignment Operators in C
15. Increment and Decrement Operators in C
16. Conditional or Ternary Operator (?:) in C
17. sizeof operator in C
18. Operator Precedence and Associativity in C

 C Control Statements Decision-Making #5


1. Decision Making in C (if , if..else, Nested if, if-else-if )
2. C - if Statement
3. C if...else Statement
4. C if else if ladder
5. Switch Statement in C
6. Using Range in switch Case in C
7. C - Loops
8. C for Loop
9. while loop in C
10. do...while Loop in C
11. For Versus While
12. Continue Statement in C
13. Break Statement in C
14. Go to Statement in C

INTERMEDIATE LEVEL

 C Functions #6
1. User-Defined Function in C
2. Parameter Passing Techniques in C
3. Function Prototype in C

4
4. How can I return multiple values from a function?
5. main Function in C
6. Implicit return type int in C
7. Callbacks in C
8. Nested functions in C
9. Variadic functions in C
10. _Noreturn function specifier in C
11. Predefined Identifier __func__ in C
12. C Library math.h Functions

 C Arrays & Strings #7


1. Properties of Array in C
2. Multidimensional Arrays in C
3. Initialization of Multidimensional Array in C
4. Pass Array to Functions in C
5. How to pass a 2D array as a parameter in C?
6. What are the data types for which it is not possible to create an array?
7. How to pass an array by value in C ?
8. Strings in C
9. Array of Strings in C
10. What is the difference between single quoted and double quoted declaration
of char array?
11. C String Functions
 C Pointers #8

1. Pointer Arithmetics in C with Examples


2. C - Pointer to Pointer (Double Pointer)
3. Function Pointer in C
4. How to declare a pointer to a function?
5. Pointer to an Array | Array Pointer
6. Difference between constant pointer, pointers to constant, and constant
pointers to constants
7. Pointer vs Array in C
8. Dangling, Void, Null and Wild Pointers in C
9. Near, Far and Huge Pointers in C
10. restrict keyword in C

 C User-Defined Data Types #9


1. C Structures
2. dot (.) Operator in C
3. C typedef
4. Structure Member Alignment, Padding and Data Packing
5. Flexible Array Members in a structure in C
6. C Unions
7. Bit Fields in C

5
8. Difference Between Structure and Union in C
9. Anonymous Union and Structure in C
10. Enumeration (or enum) in C

 C Storage Classes #10


1. C Storage Classes
2. Storage Classes in C
3. extern Keyword in C
4. Static Variables in C
5. Initialization of static variables in C
6. Static functions in C
7. Understanding "volatile" qualifier in C | Set 2 (Examples)
8. Understanding "register" keyword in C

 C Memory Management #11


1. C Memory Management
2. Memory Layout of C Programs
3. Dynamic Memory Allocation in C using malloc(), calloc(), free() and realloc()
4. Difference Between malloc() and calloc() with Examples
5. What is Memory Leak? How can we avoid?
6. Dynamic Array in C
7. How to dynamically allocate a 2D array in C?
8. Dynamically Growing Array in C
 C Preprocessor #12
1. C Preprocessor Directives
2. How a Preprocessor works in C?
3. Header Files in C
4. What’s difference between header files "stdio.h" and "stdlib.h" ?
5. How to write your own header file in C?
6. Macros and its types in C
7. Interesting Facts about Macros and Preprocessors in C
8. # and ## Operators in C
9. How to print a variable name in C?
10. Multiline macros in C
11. Variable length arguments for Macros
12. Branch prediction macros in GCC
13. typedef versus #define in C
14. Difference between #define and const in C?
 C File Handling #13
1. Basics of File Handling in C
2. C fopen() function with Examples
3. EOF, getc() and feof() in C
4. fgets() and gets() in C language
5. fseek() vs rewind() in C
6. What is return type of getchar(), fgetc() and getc() ?
7. Read/Write Structure From/to a File in C
8. C Program to print contents of file
9. C program to delete a file
6
10. C Program to merge contents of two files into a third file
11. What is the difference between printf, sprintf and fprintf?
12. Difference between getc(), getchar(), getch() and getche()
 Miscellaneous #14
1. time.h header file in C with Examples
2. Input-output system calls in C | Create, Open, Close, Read, Write
3. Signals in C language
4. Program error signals
5. Socket Programming in C
6. _Generics Keyword in C
7. Multithreading in C
 C Interview Questions #15
1. C Interview Questions
2. C Programming Interview Questions (2024)
3. Commonly Asked C Programming Interview Questions | Set 1
4. Commonly Asked C Programming Interview Questions | Set 2
5. Commonly Asked C Programming Interview Questions | Set 3

You might also like