a pointer is a derived data type in c. pointers are undoubtedly one of the most distinct and exciting features of c language.it has added power and flexibility to the language.
*pointers are more efficient in handling arrays and tables.
*pointer can be used to support dynamic memory management.
*pointers reduce length and complexity of programs.
*increase the execution speed and thus reduce the program execution time.
by following character's real power of c lies in proper use of pointers. pointer is called the jewel of c-language.
It isn't a question, sorry.
Don't store pointers in files, it makes no sense.
void as function return-type means no return value void as function parameter means no parameter void * as pointer type means generic pointer
There is no 'this' in C. C is not an object-oriented language. C++, however, is object-oriented. The 'this' pointer is used by non-static member functions to determine which instance of a class the function should operate upon.
C++ imposes far greater restrictions on pointer typing than assembly language. There is only a single type of pointer in assembly, which is only "typed" in any sense when dereferenced, and even then only by size. C++ pointer typing takes into account not only the size of the type of the referent, but a number of other factors, such as its relationship to other types in the class hierarchy. The only way to disable these safety checks is to explicitly break the type system using reinterpret_cast.
Let's suppose, you wanted to ask:Why thisis used as a pointer in C++ language? Because it is a pointer to the 'current object'.
its pointer created for high safety that cant be find by anyone.
It is a pointer which is pointing to present object with which the memberfunction is called in c++ language.
pointer: to access data by address reference: there is no reference in C language
No, the first is a number (0x91), the second is a pointer.
It isn't a question, sorry.
Because of pointers and that all arrays are really pointers. A pointer something like *pointer can also be written as pointer[0] and *(pointer + 1) can also be written as pointer[1]
Don't store pointers in files, it makes no sense.
You can add a point in C/C++. The legal operations on a pointer are that you can 1.) add a constant, 2.) subtract a constant, and 3.) subtract two pointers that refer to the same array. Anything else is meaningless.
Platform-dependent, printf ("%d\n", (int)sizeof (void *))will tell you.
Yes. All string variables are pointers as are other arrays.
void as function return-type means no return value void as function parameter means no parameter void * as pointer type means generic pointer