answersLogoWhite

0


Best Answer

... are usable.

void pointer (generic pointer) : a special type of pointer which point to some data

of no specific types.

void *p;

null pointer : a special type of pointer which point nowhere.

it is usually used to check if a pointer is pointing to a null or free

the pointer during deallocation of memory in dynamic memory allocation;

it is define by using the predefine constant NULL

int *p=NULL;

wild pointer : uninitialized pointer. it hold a garbage value. i.e it is not pointing to

any memory location yet.

dangling pointer: pointer pointing to a destroyed variable.

it usually happen during dynamic memory allocation when the

object is destroyed but not free and the pointer is still pointing

to the destroy object.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Pointer is a variable that is used to store the memory address of another variable. There are differenr types of pointers: NULL pointer THIS pointer VOID pointer NEAR pointer HUGE pointer FAR pointer WILD pointer

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Pointer variables and function pointers are the two primary types, as well as a void pointer (unknown type). Pointer variables can point to any valid type, including primitive types and user-defined types, as well as other pointer variables. Function pointers can point to any function with the same signature as the function pointer itself. Void pointers can point anywhere.

This answer is:
User Avatar

User Avatar

Wiki User

13y ago

You can define pointers to every data-type (including elementary types, structures, unions, arrays and function), plus you can define generic pointers as 'void *'.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A pointer in C is a pointer. Examples:

int *intptr;

char *charptr;

int (*funptr)(int, char **);

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Different types of pointers in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the different types of language?

c, c++, java


What are the basic parts of the c language?

That would include header files, data types, loops, functions, pointers, arrays


Why only three types of pointer variable in c language?

I have no idea what you mean by that... Some examples for pointers of different types: int *intptr; char *charptr; void *generic_ptr; FILE *stdin; int (*funptr)(int, char **);


Are there any FAQs in pointers in c language?

Wikipedia can be a starting point.


What is meant by pointers in c language?

Variables (or constants) that contain addresses.


How do you run graphics program in C?

pro c language to implement linear search using pointers


What are derived data types in the C language?

You seem to have lost your text book so I am giving you a link where you can study data types, including derived data types.


Why pointer is callded jewel of c language?

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.


What are object oriented programming language's?

Languages where all types, including primitive types such as integers, are implemented as objects. Java is a pure object oriented language. C++ is not pure because integers, floating point values and pointers are primitive data types that are not implemented as objects. As a result, Java is easier to program, but C++ is more efficient.


Why does is used as a pointers in c language?

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'.


What are the data type in c language?

Some of them are: 1. char, short, int, long, float, double 2. pointers to these 3. arrays of these 4. arrays of pointers 5. pointers to arrays ...


Why you are not using pointers in java?

Pointers is a very powerful feature that is available in the C programming language but at the same time it is very confusing and many of the issues that arise out of C programs is because of incorrect or inappropriate usage of pointers. Hence the creators of Java language opted to exclude the pointers feature and create Java as a language where the programmer cannot access the native memory area and the memory accessing is left to the system to be taken care of.