Skip to player
Skip to main content
Skip to footer
Search
Connect
Watch fullscreen
Like
Comments
Bookmark
Share
Add to Playlist
Report
Learn Programming Technique C to Master Skills - Use of & sign with variables
Tutorials Arena
Follow
9/29/2024
Category
š
Learning
Transcript
Display full video transcript
00:00
Hello everyone. This is Sandeep. Today I am going to explain that why we use
00:09
ampersand sign or you can say the and sign with the variables when we have to
00:15
input something from the keyboard and that is going to store inside the
00:20
variables. So inside the scanf function we use ampersand sign or you can say
00:27
the and sign with the variables. So what is the reason behind it. So I am going to
00:33
explain this thing with one of the realistic approach example and the
00:37
things will be clear to all of you. Let me explain. Suppose this person has to go
00:45
to a particular location. So what he has to do the first thing which he has to do
00:52
is to read the address of that location. So he is going to read the address from
00:58
his address book. Once he will get the address of that location this person
01:03
will go to that particular location. He will reach the destination. Now the same
01:09
methodology the same architecture is there in programming in C programming
01:14
also. The and represent address of A. The and or you can say the ampersand
01:22
represent the address of B. So what it is indicating it's indicating to the
01:28
compiler that first go and see the address of A and address of B then take
01:35
the value which is input from the keyboard and store inside A variable and
01:41
B variable. So and represent to the address to the address of A and address
01:47
of B. So first to read the address, reach the location and then store the value
01:54
inside it. I hope you understand. In the next video I will explain something else.
01:59
Bye
Recommended
2:44
|
Up next
Learn Programming Technique C to Master Skills - Switch Case Program ( Use of Character Value)
Tutorials Arena
10/19/2024
3:37
Learn Programming Technique C to Master Skills - Pointers And Arrays
Tutorials Arena
11/8/2024
7:23
Learn.Programming Technique C to Master Skills - Declaration of C Variables
Tutorials Arena
9/29/2024
3:59
Learn.Programming Technique C to Master Skills - Variables and Datatypes
Tutorials Arena
9/29/2024
4:22
Learn Programming Technique C to Master Skills - Pointer And Arrays Program
Tutorials Arena
11/9/2024
5:36
Learn Programming Technique C to Master Skills - Switch Case Program ( Use of Integer Value)
Tutorials Arena
10/19/2024
3:22
Learn Programming Technique C to Master Skills - Use of Type Specifiers in C Language
Tutorials Arena
9/29/2024
4:44
Learn Programming Technique C to MasterĀ Skills - Use of void with Function
Tutorials Arena
11/6/2024
12:25
Learn Programming Technique C to Master Skills - Call By Reference Program
Tutorials Arena
11/8/2024
10:56
Learn Programming Technique C to Master Skills - Loop With If Statement Program
Tutorials Arena
10/13/2024
7:38
Learn Programming Technique C to Master Skills - Recursive Function - I
Tutorials Arena
11/6/2024
9:20
Learn Programming Technique C to Master Skills - Union Program
Tutorials Arena
11/10/2024
7:56
Learn Programming Technique C to Master Skills - Nested If Statement Program
Tutorials Arena
10/12/2024
6:13
Learn Programming Technique C to Master Skills - Union
Tutorials Arena
11/10/2024
8:45
Learn Programming Technique C to Master Skills - Explanation of Pointer - I
Tutorials Arena
11/8/2024
6:40
Learn Programming Technique C to Master Skills - Explanation of Array
Tutorials Arena
10/20/2024
12:06
Learn Programming Technique C to Master Skills - Continuous If Statement Program
Tutorials Arena
10/8/2024
3:40
Learn Programming Technique C to Master Skills - Array of Pointer Program
Tutorials Arena
11/9/2024
10:48
Learn Programming Technique C to Master Skills - Structure and Functions Program
Tutorials Arena
11/10/2024
7:24
Learn Programming Technique C to Master Skills - Linked Lists
Tutorials Arena
11/30/2024
8:47
Learn Programming Technique C to Master Skills - Structure Pointer
Tutorials Arena
11/30/2024
5:14
Learn Programming Technique C to Master Skills - Single If Statement Program Explanation
Tutorials Arena
10/12/2024
8:07
Learn Programming Technique C to Master Skills - Loop with if Statement Second Program
Tutorials Arena
10/17/2024
13:04
Learn Programming Technique C to Master Skills - Double Dimension Array Program
Tutorials Arena
10/20/2024
6:04
Learn Programming Technique C to Master Skills - Structure and Functions
Tutorials Arena
11/10/2024