Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 11-08-2017, 01:10 AM   #31
thevyakar
Registered User
 
Join Date: Nov 2017
Location: USA
Posts: 113
The pointer in C language is a variable, it is also known as locator or indicator that points to an address of a value.
thevyakar is offline   Reply With Quote
Old 11-17-2017, 01:52 AM   #32
Shalini001
Registered User
 
Join Date: Oct 2017
Posts: 51
1. a long, thin piece of metal on a scale or dial which moves to indicate a figure or position.
2. a dog of a breed that on scenting game stands rigid looking towards it.
Shalini001 is offline   Reply With Quote
Old 11-17-2017, 02:13 PM   #33
Faraone
Registered User
 
Join Date: Feb 2017
Location: Egypt
Posts: 1,806
Nice post, thank you for sharing
__________________
Positive Life Quotes | Great Quotes | Fitness Quotes | Best Quotes | Future Quotes | Success Quotes | Image Bank |
Smile Quotes | Videos | Positive Quotes | اقوال وحكم


---
Join our Xyore Community, Invite people and Make New Friends. Share your thoughts, moments and interesting.
Faraone is offline   Reply With Quote
Old 12-12-2017, 11:58 PM   #34
arthurperkins
Registered User
 
Join Date: Nov 2017
Location: USA
Posts: 29
A Pointer in C is a variable whose value is the address of another variable present in the memory.
arthurperkins is offline   Reply With Quote
Old 12-18-2017, 02:18 AM   #35
cuong25081995
Registered User
 
Join Date: Nov 2017
Posts: 500
A pointer is a variable whose value is the address of another variable, i.e., direct address of the memory location.
cuong25081995 is offline   Reply With Quote
Old 12-18-2017, 02:36 AM   #36
sugunapest
Registered User
 
Join Date: Jul 2017
Posts: 418
The actual data type of the value of all pointers, whether integer, float, character, or otherwise, is the same, a long hexadecimal number that represents a memory address. The only difference between pointers of different data types is the data type of the variable or constant that the pointer points to.
sugunapest is offline   Reply With Quote
Old 02-12-2018, 01:52 AM   #37
adityadev
Registered User
 
Join Date: Jul 2017
Posts: 71
A pointer is a variable which contains the address in memory of another variable. We can have a pointer to any variable type. The unary or monadic operator & gives the ``address of a variable''. The indirection or dereference operator * gives the ``contents of an object pointed to by a pointer''.
adityadev is offline   Reply With Quote
Old 02-16-2018, 03:12 AM   #38
albertomorrison
Registered User
 
Join Date: Dec 2017
Location: Santa Clara, California, USA
Posts: 91
A pointer is a small arrow or another symbol on the display screen that moves as you move the mouse. You can select commands and options by positioning the tip of the arrow over the desired choice and clicking a mouse button. Many text processing programs use an I-beam pointer. Pointers are often referred to as mouse pointers.
albertomorrison is offline   Reply With Quote
Old 02-18-2018, 11:43 PM   #39
thevyakar
Registered User
 
Join Date: Nov 2017
Location: USA
Posts: 113
A pointer can hold any address (any int value can be considered an address), but the programmer should ensure that the address is within the memory range allocated to the process, or otherwise, a segmentation fault can occur.
Two ways of doing this is
1)p= &var
2) p= malloc()
thevyakar is offline   Reply With Quote
Old 03-08-2018, 11:41 AM   #40
admin888
Registered User
 
Join Date: Feb 2018
Posts: 75
thank you for the information you give
the articles you give are very useful for me
admin888 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is a smart pointer? chinmay.sahoo Programming General 0 02-15-2016 01:45 AM


All times are GMT -7. The time now is 01:33 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.