Theory - Pointers are powerful features of C C++ || Learning C Programming ||For Beginners||#C225
C Pointers
In this article, you'll learn about pointers; what are they, how do you use them and the common mistakes you might face when working with them.
Pointers are powerful features of C and (C++) programming that differentiates it from other popular programming languages like Java and Python.
Pointers are used in C program to access the memory and manipulate the address.
Address in C
Before you get into the concept of pointers, let's first get familiar with address in C.
If you have a variable var in your program, &var will give you its address in the memory, where & is commonly called the reference operator.
You must have seen this notation while using scanf() function. It was used in the function to store the user inputted value in the address of var.
Reference operator (&) and Dereference operator (*)
As discussed, & is called reference operator. It gives you the address of a variable.
Likewise, there is another operator that gets you the value from the address, it is called a dereference operator *.
Below example clearly demonstrates the use of pointers, reference operator and dereference operator.
Note: The * sign when declaring a pointer is not a dereference operator. It is just a similar notation that creates a pointer.
|| Like-Comment-Subscribe-Share ||
||Support and Subscribe ||
#rubalsolutions #coding #developer #programming #programmer #technology #clanguage #computerscience #c #informaticpractices #sub #subscribe #youtube #newyoutuber #youtubechannel
To Install Turbo C++ 4.5 Click on Below Link and Download rar file and extract and then install..
address updated by app.box.com on 8 april
https://app.box.com/s/soz2137zo0rv0sb08pf4upzgj01umfjr
Do Like,Comment,Share and Subscribe if u are learning little bit.
Please give me suggestions in form of comment box .
Link To My Blog - https://www.blogger.com/blogger.g?blo...
Like me on Facebook @ https://www.facebook.com/rubalsolutions/
Follow me on Twitter @ https://twitter.com/ruby0071
Follow me on Instagram @https://www.instagram.com/er.rubal/
Email me at :- ruby0071@gmail.com
Recording Microphone Mic & Tripod Stand for Laptop
https://amzn.to/2WCV5a8
Mini Professional Handheld Microphone Compatible with Xiaomi, Lenovo, Apple, Samsung, Sony, Oppo, Gionee, Vivo Smartphones (One Year Warranty)
https://amzn.to/2HRp1fj