Array is collection of homogeneous data items. Array provides us a way to store large number of variables which is of same data type under single name. for example suppose you want to store 10 values. for that one way is declaring 10 variables like number 1, number 2, number …
Function is a group of statements which perform a specific task. We divide our program of c in multiple functionality blocks which is called function. whenever we require to perform that functionality we call our function which is written to perform that particular functionality. below picture gives very good …
In Real life we come across many situations in which we have multiple options to choose. To implement same kind of situation in C programming we have if and else keywords. There might be scenario in real life where we have to do same thing again and again till we …
Variables and constant variables are the entity whose values can be changed and constants are the entity which can’t be change. while writing programs we might need to perform some mathematical operations on some values or we might need to store some data . To store that values or data …
What is C C is a programming language that was developed at AT & T’s Bell Laboratories of USA in 1972. it was written by Dennis Ritchie. After invention of C it started to groom in market and large number of people started following it because of simplicity and reliability. …
In this chapter we will be discussing about what are breakpoints , what are the types of breakpoints, what are the benefits and limitation of each type of breakpoints. In a simple definition we can define breakpoint is a signal which tells processor to halt execution of program at certain …
linux memory management introduction Memory management subsystem is one of the most complex and at the same time most important part of any kernel. In this article we will discuss about basics of memory management. Describing Physical memory To better understand the memory management in Linux, we should know …
Understanding Kernel Synchronization If a resource is being shared between multiple process at same time then we need to provide protection from concurrent access because if two or more thread will access and manipulate the data at same time then thread may overwrite each other’s changes or access the data …
Top Halves and bottom Halves In last chapter we discussed about Interrupts , how interrupts are handled and registered. In this chapter we will learn what are top halves and bottom halves , what was the limitation of previous implementation of interrupt handler etc. Limitations On interrupt handler:- 1) It …