Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in C only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
C
array or pointer is faster access?
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
avinashphilip
New Member
Join Date:
Jul 2007
Posts:
1
#1
array or pointer is faster access?
Jul 17 '07, 05:47 PM
array or pointer is faster access?
i feel array is faster, if any conflict please help me
weaknessforcats
Recognized Expert
Expert
Join Date:
Mar 2007
Posts:
9214
#2
Jul 17 '07, 05:59 PM
An array is not a pointer.
An array is a built-in container of variables.
A pointer is a variable that contains an address.
You cannot compare two different things.
Maybe you could expand your question a little so I could understand better.
Comment
Post
Cancel
ilikepython
Recognized Expert
Contributor
Join Date:
Feb 2007
Posts:
844
#3
Jul 17 '07, 06:14 PM
Originally posted by
weaknessforcats
An array is not a pointer.
An array is a built-in container of variables.
A pointer is a variable that contains an address.
You cannot compare two different things.
Maybe you could expand your question a little so I could understand better.
This is the articles section. It should be moved to the forum.
Comment
Post
Cancel
sicarie
Recognized Expert
Specialist
Join Date:
Nov 2006
Posts:
4677
#4
Jul 17 '07, 07:25 PM
Moved .
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment