What about the pointers in C confuses people?

Asked by Last Modified  

Follow 1
Answer

Please enter your answer

IT Professional

Well to begin with, pointers can be used to retrieve the values of variables from their homes where they live. A variable is basically a location in memory which contains a value. To query the value the pointer could be used. Now a pointer which basically is a variable contains the address of other variable....
read more
Well to begin with, pointers can be used to retrieve the values of variables from their homes where they live. A variable is basically a location in memory which contains a value. To query the value the pointer could be used. Now a pointer which basically is a variable contains the address of other variable. Pointers can also contain addresses of other pointer variables and so on. This starts the confusion. Keep the basic clear. A pointer is a variable that contains the address of other variable in memory. So for instance, if my friend knows my address, you could meet him and ask him to bring you to my home. Simple. :-) But for that you need to know my friend. Here my friend is called the pointer variable. read less
Comments

Related Questions

Which is the best software for working with C language?
Choosing the "best" software for working with the C language can depend on your specific needs and preferences, but a widely used and reliable option is the GNU Compiler Collection (GCC). GCC is an open-source...
Profile Photo
Kiran
0 0
View Comments6
Which are the best books to learn C?
Yashavant Kanetkar
Profile Photo
Kratika
How do I write a C program to print the total number of a single-digit prime number using a loop?
Single Digit prime number means number from 0 to 10 which are prime. so write for loop which will iterate from 0 to 10 as the value of i your i is nothing but the number pass the value of i to function...
Profile Photo
Momin
0 0
View Comments7
What is the difference between #include and #include" "
first one is used for predefined header files.. and second is used for user defined header files
Profile Photo
Priya
1 0
View Comments6

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Internet of Things, Social Media Becoming Part of E-Discovery Landscape
The days when e-discovery consisted of handing over copies of e-mails to address Freedom of Information Act (FOIA) requests, compliance regulations or other legal obligations are over. Now, it's just as...
Profile Photo

4 Things Every Tech Startup Needs to Know About The Coaching Industry
Knowledge on any subject is widely available to those who wish to learn. However, just gathering knowledge from other people doesn’t guarantee results in business. Results come from applying what...
Profile Photo

Introduction to Programming Languages
What is a Programming Language? A programming language is a formal computer language or constructed language designed to communicate instructions to a machine, particularly a computer. Programming languages...
Profile Photo

Do You Know How Is Size Of Structure Defined?
Size of the structure is defined based on multiplies of bigger data type member in the structure. Example: If a structure contains integer, char, short data type, then size of the Structure will be multiples...
Profile Photo

Efficient Learning Strategies
Type your notes after class Write your notes onto flashcards - Scrabble -Make posters Review flashcards while walking, at gym, etc. Dog-ear pages in the reading where you can find...
Profile Photo

Recommended Articles

Lasya Infotech is a Hyderabad based IT training institute founded in 2016 by O Venkat. Believing in his innovation, passion and persistence and with a diverse blend of experience, he started his brainchild to deliver exemplary professional courses to aspiring candidates by honing their skills. Ever since the institute envisions...

Read full article >

Brilliant Academy is one of the reputed institutes for B.Tech tuition classes. This institute is specialised in delivering quality tuition classes for B.E, Engineering - all streams and Engineering diploma courses. Incorporated in 2012, Brillant Academy is a brainchild of Mr Jagadeesh. The main motto of the academy is to...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Looking for C Language Classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you