answersLogoWhite

0

How can you use pointer is data structure?

Updated: 8/18/2019
User Avatar

Wiki User

13y ago

Best Answer

Your question makes no sense.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you use pointer is data structure?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the difference between structure and pointer?

A structure is a collection of primitives or other structures. A pointer is a memory address. Comparison of the two is like comparing bowling balls to cinder blocks. You can say that a structure defines the layout of the data, while a pointer points to data that is a particular structure.


What is difference between pointer and structures?

pointer data type that carry address:of data type that has no name but both of them must have same data type. structures you can make your own data type: struct name put any data type you wants any functions.


What is use of pointer?

Storing address of data.


What is an identify?

An identifier is nothing but a data type. It may variable, content, structure or a pointer.


Why you use float pointer instead of integer pointer?

It depends on what type of data you wish to manipulate.


What happens if we use an integer pointer as a member of structure instead of structure pointer?

By declaring an integer pointer you are declaring that any non-zero reference stored in the pointer is guaranteed to be an integer reference. In order to guarantee the reference is actually a structure, the pointer must be declared as such, because casting an integer to a structure can never be regarded as being type-safe.


Difference between genric pointer and normal pointer?

Generic pointer of type 'void *' is compatible with any (data-)pointer, but you cannot use the following operators on it: + - ++ -- += -= * -> []


Time taken to insert an element after an element pointed by some pointer in data structure?

O(n)


When would you use a pointer and a reference variable?

pointer: to access data by address reference: there is no reference in C language


What is heterogeneous linked list?

A heterogeneous linked list is a data structure where each node can store data of different types. This allows for a flexible way to organize and manipulate data that may vary in structure or content. Each node contains a pointer to the next node in the list, enabling traversal and manipulation of the data.


We use file to store data so why don't we use it as data structure?

A homework question but here is a clue. A data structure is ****?


What is the use of void pointer?

Void Pointer is a General purpose pointer ,that does not have any data type associated with it and can store address of any type of variable. Declaration: void * pointer_name;