C Programming language

C Standard Library Function

Day 1: Introduction and brief history of C Programming language

Day 1: Advantages and Disadvantages of C, C Keywords, Data type modifiers in C

Day 1: Data types in C Programming language

Day 1: Secondary data types, Primitive and Non-primitive data types

Day 1: C Variables, C Constant, Format Specifiers in C

Day 2: Write first C program

Day 2: Flow of C program with example, main(), printf(), scanf()

Day 2: Operaters in C Programming language, Arithmetic operators

Day 2: Relational operators and Logical Operators in C Programming language

Day 2: Assignment, Increments and Decrement Operators in C Programming language

Day 3: Conditional statement: if else statement in C Programming language

Day 3: Conditional statement: switch statement in C Programming language

Day 3: Jump statements: return statement in C Programming language

Day 3: Jump statements: go to statement in C Programming language

Day 3: Jump statements: break statement in C Programming language

Day 3: Jump statements: continue statement in C Programming language

Day 4: Loops OR Iteration statement in C Programming language: for Loop

Day 4: Loops OR Iteration statement in C Programming language: while Loop

Day 4: Loops OR Iteration statement in C Programming language: do while Loop

Day 5: Array in C Programming language

Day 5: Access elements of Array in C Programming language

Day 5: One dimensional Array representation in memory using C Programming language

Day 5: Two dimensional Array representation in memory using C Programming language

Day 5: Multidimensional Array in C Programming language

Day 6: Function in C Programming language

Day 6: Definition, Declaration and Calling a Function in C Programming language

Day 6: Passing array to a function in C Programming language

Day 6: Calling Function in C Programming language : Call by value

Day 6: Calling Function in C Programming language : Call by reference

Day 6: Recursive Function in C Programming language

Day 6: Adding function to the library in C Programming language

Day 7: Pointer in C Programming language, How to use Pointer, Pointer declaration

Day 7: NULL Pointers in C Programming language

Day 7: Array of Pointers in C Programming language

Day 7: Pointer arithmetic in C Programming language

Day 7: Pointer to Pointer in C Programming language

Day 7: Pointer to Function in C Programming language: Passing pointers to functions

Day 7: Pointer to Function in C Programming language: Return pointer from functions

Day 8: Strings in C Programming language, Declaring String in C Programming language

Day 8: String functions in C Programming language

Introduction of Structure

Accessing the members of Structure

Structure With typedef Keyword and Use of sizeof function

Example of Structure

Dynamic memory allocation in C: Introduction

adplus-dvertising
Day 1 Advantages and Disadvantages of C, C Keywords, Data type modifiers in C
Previous Home Next

Advantages of C Programming language

  • C is a small , efficient ,powerful, flexible and close to computer H/W (architecture).
  • It's a systems language (which means it can be used to do low-level programming with minimal or no run-time).
  • It is essentially high level assembly (it was designed to write portable OS's in).
  • A lot of libraries are written in C and it's easy to find reference code, and to get support.
  • it's declining as an applications language, but still holding strong as a systems language.
  • C is a general-purpose programming language with features economy of expression, modern flow control and data structures, and a rich set of operators.
  • C programming is structure programming language we can add no. of module (function) according to our need.
  • C has which is its application in Firmware programming (hardware). C language ability it is use/work with assembly and communicates directly with controllers, processors and other devices.

Disadvantages of C Programming language

  • C is designed for professional users.
  • C was not able to automatic checking compare other languages.
  • C does not support modern concept like OOP’s and multithreading.
  • There is no runtime checking.
  • There is no strict type checking (for ex: we can pass an integer value for the floating data type).
  • As the program extends it is very difficult to fix the bugs etc.
C Keywords

Keywords are the words whose meaning has already been explained to the C compiler. The keyword can't be used as variable names because if we do so, we are trying to assign a new meaning to the keyword, which is not allowed by the computer. The keywords are also called the Reserved Keywords. There are only 32 keywords available in C.

Some Important Keywords in C Programming Language int, char, double, float, switch, case, if, else, for, while, long, short etc.

Note: Compiler vendors provide their own keywords apart from mentioned above. These include Extended keywords like near, far, asm, etc. Such compiler specific keywords should be preceded by two underscore sign AS __far.

Data type modifiers in C Programming Language

short, long: Used only for int (integers), to change size of the data type for save memory space. The short modifier reduces the size of the data type to half it’s regular storage capabilities.

unsigned, signed: Also used only for int. Unsigned modifies int to positive number range. Signed is the default modifier for all of the data types. unsigned restricts the data type so that it can only store positive values. By default all data types are signed. Signed means that the data type is capable of storing both positive and negative values.

long long: The size of long long modifier is at least 64 bits. Again was with both the short and long we have two types of the long long, signed and unsigned.

Previous Home Next