We are going to cover all the topics of C programming.
Basic concept in C : - (like operators in C,data types, looping- if else, for, while, do while)
- array, pointer, string, function, recursion, searching, sorting, file handling and another important thing is Data structure in c ( Stack, queue, linked list etc).
- C language concept,syntax,data types,different type of loops and usage,pointers.
- Life time of a variable? - ( ex: static & global variables has lifetime from start to end of the program. like we have to know for stack & heap variables)
- Data memory model:
static area - static & global variables stored here
stack area - stack variables stored here ( it will expands & shrinks when the program is executed)
heap area - runtime variables (when we use malloc) stored here. - How the memory leak is happening with an example (we can explain it with malloc() and free() functions).
- Function is very Important part of C Language. With the help of Function Programs are easy to write and understand. So there are some Key points to remember when deal with C Language Function :
- A Function gets called when the Function name is followed by a semicolon(;)
- A Function can call itself. Such a process is called "recursion".
- A Function can be called from another Function, but a Function cannot be defined in another Function.
- A Function can be called any number of times.
- The order in which the Functions are defined in a Program and the order in which they get called need not necessarily be same.
- Any Function can be called from any other Function.
- A Function is defined when Function name is followed by a pair of braces in which one or more statements may be present.