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, 02:10 AM   #31
thevyakar
Registered User
 
Join Date: Nov 2017
Location: USA
Posts: 109
The pointer in C language is a variable, it is also known as locator or indicator that points to an address of a value.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
thevyakar is offline   Reply With Quote
Old 11-17-2017, 02: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, 03:13 PM   #33
Faraone
Registered User
 
Join Date: Feb 2017
Location: Egypt
Posts: 1,805
Nice post, thank you for sharing
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



---
Join our
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
, Invite people and
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
. Share your thoughts, moments and interesting.
Faraone is offline   Reply With Quote
Old 12-13-2017, 12:58 AM   #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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
arthurperkins is offline   Reply With Quote
Old 12-18-2017, 03: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, 03: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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
sugunapest is offline   Reply With Quote
Old 02-12-2018, 02:52 AM   #37
adityadev
Registered User
 
Join Date: Jul 2017
Posts: 50
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''.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
adityadev is offline   Reply With Quote
Old 02-16-2018, 04:12 AM   #38
albertomorrison
Registered User
 
Join Date: Dec 2017
Location: Santa Clara, California, USA
Posts: 41
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.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
albertomorrison is offline   Reply With Quote
Old 02-19-2018, 12:43 AM   #39
thevyakar
Registered User
 
Join Date: Nov 2017
Location: USA
Posts: 109
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()
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
|
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
thevyakar 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 02:45 AM


All times are GMT -7. The time now is 07:05 PM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.