05-02-2011, 06:47 PM
what is cursor and why we use it.
what is difference between cursor and pointer.
i am waiting your kind response
what is difference between cursor and pointer.
i am waiting your kind response
|
what is cursor and why we use it. what is difference between cursor and pointer.
|
|
05-02-2011, 06:47 PM
what is cursor and why we use it.
what is difference between cursor and pointer. i am waiting your kind response
05-02-2011, 06:47 PM
Cursor is a pointer that is declared outside the container/ aggregate object. Basically cursor is a pointer device, which points to an element. We use cursor in contiguous sequence like c++ arrays where elements are placed at consecutive memory location. As cursors are external pointers so the main benefit of cursors are that we can do any kind of traversal in any way.
Difference between pointers and cursors: Cursors are the external pointers, while simple pointers may be internal or external. Cursors requires some basic methods for traversing some memory location, these methods are first (), beyond (), next (), while there is no need of these methods in pointers. 0300-9520262 Get solution in 24 hour |cpmputer & internet mileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
|
|
« Next Oldest | Next Newest »
|