Computer Programming
The Difference Between

What is the difference between pointers and structure?


Top Answer
User Avatar
Wiki User
2015-01-29 03:20:18
2015-01-29 03:20:18

A pointer is a variable. A structure is a type.


Related Questions

Java doesn't have pointers. C++ has pointers.

difference between pointer or structure

A tree is a structure where each node contains none, one, or more pointers to child nodes. A binary tree is a tree with at most two pointers to child nodes in each node.

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.

difference between serch data structure and allocation data structure

There does not have to be a difference between a tall organization structure and a flat organization structure. These structures can be the same structure.

There is a difference: a pointer is a number that literally points to a place in memory. Arrays are groupings of a type. There is a close relationship between pointers and arrays, however: every expression with arrays (example: array[i]) can be expressed with pointers (example: *(array + i)), because for the computer, an array is just a list of pointers to the type of the array.

the difference between an organisational structure and a matrix structure is that a matrix structure is a combined structure whereas an organisational structure is in a vertical order and has different levels.

difference between formal organization structure and informal organization structure.

All buildings are structures but not all structures are buildings

A pointer is simply a variable that can store a memory address and has the same purpose in both languages. The only real difference is that C++ pointers can point at objects (instances of a class) and indirectly invoke their methods, whereas pointers in C (which is not object oriented) cannot.

What the difference between Bohr structure and James Rutherford structure

the difference is ,a structure is where it is placed and the function is what it daos

The difference between the structure and the function of an organ is thet the structure is how it is organized. The function is the way it works.The way it does its job.

The difference between a structure that is rigid and one that is flexible is that the rigid structure will not bend or flex when force is applied. A structure that is rigid cannot flex.

what is the difference between honeybee and blue Jay

The structure tag is a type. The structure variable is an instance of that type.

An array is a collection of objects of similar data type ,whereas pointers are variable which is used to hold the address of the other variable.

Grammar is to structure as the laws of physics are to construction.

Copyright ยฉ 2020 Multiply Media, LLC. All Rights Reserved. The material on this site can not be reproduced, distributed, transmitted, cached or otherwise used, except with prior written permission of Multiply.