php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what is cursor and why we use it. what is difference between cursor and pointer.
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
what is cursor and why we use it.

what is difference between cursor and pointer.

i am waiting your kind response
Reply
#2
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 & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  What is the difference among calloc function ,malloc function and recalloc function? Vuhelper 0 34,671 05-31-2012, 01:46 AM
Last Post: Vuhelper
  What is difference among Binary Tree, Complete Binary Tree and Binary Search Tree? Vuhelper 2 4,442 03-18-2012, 12:47 AM
Last Post: Xpert
  Explain the difference b/w Null Pointer and Null Nodes? C++ 2012 Vuhelper 0 2,007 01-06-2012, 12:24 AM
Last Post: Vuhelper
  What is the difference b/w Inorder Traversal and Inorder Successor? 2012 Vuhelper 0 1,842 01-06-2012, 12:23 AM
Last Post: Vuhelper
  what is the difference between 1. Double Right-Left Rotation 2. Double Left-Right Rot Vuhelper 0 2,080 01-04-2012, 10:37 PM
Last Post: Vuhelper
  call by value, call by reference,call by pointer in data structure 2012 Vuhelper 0 4,393 01-04-2012, 10:28 PM
Last Post: Vuhelper
  What is the difference between “object = this->object” and “this->object=object”? Vuhelper 0 4,107 01-04-2012, 10:17 PM
Last Post: Vuhelper
  What is difference between a complete binary tree and strictly binary tree? Vuhelper 0 4,548 11-05-2011, 05:24 PM
Last Post: Vuhelper
  what is difference between *a.b and (*a).b ? Vuhelper 0 2,749 11-05-2011, 05:23 PM
Last Post: Vuhelper
  what is difference between int* b and int *b? Vuhelper 0 2,250 11-05-2011, 05:20 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support