Pointers in C || Data Structures and Structures || Saral Bhasha me
Pointers in C || Data Structures and Structures || Saral Bhasha me
#pointers #Clanguage #c++ #ugc #aktu #akturesults #datastructures
Pointers in C language is a variable that stores/points the address of another variable. A Pointer in C is used to allocate memory dynamically i.e. at run time. The pointer variable might be belonging to any of the data type such as int, float, char, double, short etc.
Pointer Syntax : data_type *var_name; Example : int *p; char *p;
Where, * is used to denote that “p” is pointer variable and not a normal variable.
KEY POINTS TO REMEMBER ABOUT POINTERS IN C:
Normal variable stores the value whereas pointer variable stores the address of the variable.
The content of the C pointer always be a whole number i.e. address.
Always C pointer is initialized to null, i.e. int *p = null.
The value of null pointer is 0.
& symbol is used to get the address of the variable.
* symbol is used to get the value of the variable that the pointer is pointing to.
If a pointer in C is assigned to NULL, it means it is pointing to nothing.
Two pointers can be subtracted to know how many elements are available between these two pointers.
But, Pointer addition, multiplication, division are not allowed.
The size of any pointer is 2 byte (for 16 bit compiler).
Видео Pointers in C || Data Structures and Structures || Saral Bhasha me канала Codemasters
#pointers #Clanguage #c++ #ugc #aktu #akturesults #datastructures
Pointers in C language is a variable that stores/points the address of another variable. A Pointer in C is used to allocate memory dynamically i.e. at run time. The pointer variable might be belonging to any of the data type such as int, float, char, double, short etc.
Pointer Syntax : data_type *var_name; Example : int *p; char *p;
Where, * is used to denote that “p” is pointer variable and not a normal variable.
KEY POINTS TO REMEMBER ABOUT POINTERS IN C:
Normal variable stores the value whereas pointer variable stores the address of the variable.
The content of the C pointer always be a whole number i.e. address.
Always C pointer is initialized to null, i.e. int *p = null.
The value of null pointer is 0.
& symbol is used to get the address of the variable.
* symbol is used to get the value of the variable that the pointer is pointing to.
If a pointer in C is assigned to NULL, it means it is pointing to nothing.
Two pointers can be subtracted to know how many elements are available between these two pointers.
But, Pointer addition, multiplication, division are not allowed.
The size of any pointer is 2 byte (for 16 bit compiler).
Видео Pointers in C || Data Structures and Structures || Saral Bhasha me канала Codemasters
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Cache Mapping Techniques 3 || Computer Organisation and Architecture ||Detailed Explanation](https://i.ytimg.com/vi/4jzC1owhbEw/default.jpg)
![Structures and Functions|| Data Structures and Algorithms || Saral Bhasha me](https://i.ytimg.com/vi/O5a05sUvZ6Q/default.jpg)
![Static And Dynamic Memory Allocation || Data Structures and Algorithms || Saral Bhasha me](https://i.ytimg.com/vi/wdtMD6jWisI/default.jpg)
![Time And Space Complexity || Data Structures and Algorithm || Saral Bhasha me](https://i.ytimg.com/vi/C_ZpLHnH8zc/default.jpg)
![Cache Mapping Techniques || Computer Organisation and Architecture ||Detailed Explanation](https://i.ytimg.com/vi/sPZwmzRLh7Q/default.jpg)
![Sandeep Maheshwari Inspires || Powerful Inspirational Speech](https://i.ytimg.com/vi/WjTiMawTVmM/default.jpg)
![Instruction cycle State Transition Diagram ||Computer Organisation and Architecture||Saral Bhasha me](https://i.ytimg.com/vi/miqZ5T_ialk/default.jpg)
![Floating Point Representation || Computer Architecture || Hindi](https://i.ytimg.com/vi/rAnZ0ulXytU/default.jpg)
![Arrays Basics || Data Structures and Algorithms || Saral Bhasha me](https://i.ytimg.com/vi/FeE4rsc1DS4/default.jpg)
![Shri Ram Chandra Kripalu Bhajman ll by THE Gayak Brahmin ll Shri Ram Bhumi Pujan Special](https://i.ytimg.com/vi/TTvx5DRvXWc/default.jpg)
![Hardwired Control Unit | Computer Organization and Architecture | Saral Bhasha me](https://i.ytimg.com/vi/LdqwuI4W488/default.jpg)
![Introduction to Computer Organisation and Architecture || Computer Organisation and Architecture](https://i.ytimg.com/vi/xi4vJMnzonI/default.jpg)
![Floating point representation || Computer Architecture || Hindi](https://i.ytimg.com/vi/BSHy0JUDGtU/default.jpg)
![What every Indian Student must do || Don't miss these tips by Sir Walter lewin || Physics wallah](https://i.ytimg.com/vi/FZJrdzWxSdY/default.jpg)
![Pointers to a Structure || Data Structures and Algorithms || Saral Bhasha me](https://i.ytimg.com/vi/MC3wXzpplps/default.jpg)
![Cache Mapping Techniques 2 || Computer Organisation and Architecture ||Detailed Explanation](https://i.ytimg.com/vi/Jp2vTU2qeiM/default.jpg)
![Who is a Teacher || unke kartavya kya hai](https://i.ytimg.com/vi/NtyWS3x39S4/default.jpg)
![Structures in C || Data Structure and Algorithms || Saral Bhasha me](https://i.ytimg.com/vi/kMGKJeVfod4/default.jpg)
![Introduction to Data Structures || Data Structure and Algorithms || Saral Bhasha me!!!](https://i.ytimg.com/vi/_yEf2S_Tx6k/default.jpg)
![Addressing modes | Computer Organisation and architecture](https://i.ytimg.com/vi/mYm9pqum6_o/default.jpg)
![You Didn't come this far to only come this far!!!Ultimate motivation for jee,neet students!](https://i.ytimg.com/vi/hgoE8zbXCwg/default.jpg)