Thursday, September 3, 2020

What is pointer variable

 Pointer :

1]  "A pointer is variable that holds address of another variable.

2] " * " symbol is used to declared the pointer variable".

3] Every pointer variable is associated with the variable,which is pointer by it.

4] syntax:

                  data_type * variable_name;

                  Int * ptr;

5] The above declaration shows a pointer variable ptr, which will hold the address of an "int" 


No comments:

Post a Comment

Object Paradigm Oriented Programming in C++ / object oriented programming / History of C++/ paradiagram in c++/C devolop, Operating System, Unix operating system, Assembly language, popular in world, Programming language.

  Object Paradigm Oriented Programming  Two programmers, Brian Kernighan and Dennis Ritchie developed a new language called C, in 1972.  C l...