In the first.
Technique, which means Scarboro offense.
I heard it two variables.
OK.
Let me make this been.
I heard X.
And I had white.
And I had two memory locations, third for Exxon, right?
Then I have a strapping Apple guard strap.
And I have sample here in the fact that somebody I created two different copies of excited, right?
That is completely different excitement that is inside the functionally.
So I'm giving here function X.
We haven't been able to create an inside the function function strap inside that function to have two
variables X and Y do all of these variables on an additive.
This X and Y is not equal to this X anyway because it's stored in different memory locations.
Suppose this was inside the memory location 2001 and 2002 the systemic summer?
No, OK, this was in, say, 591.
Then finally to.
Just unacceptable.
So this is not the sex.
This way is not this way, this sex and violence specific the stop function and this sex and way out
of law.
But.
And I'm giving this three.
And file.
And it will reach out here.
It will create the copies of this video, but it's in this X and three and file.
Now what happened inside the function?
We are slapping these extend, right?
So this X will become five and this Y will become three.
What happens to this sex sign, right?
Which is outside the function?
We are not stopping it.
It doesn't change.
That's it.
That's the card byte value method here.
Next is what happens to carbon.
I think that's more interesting inside the functions that we are actually passing the reference statics
and stayed away, right?
We are getting that in France.
So what happens?
This is not the case.
It will not be too different next then, right?
So let me erase that.
So I will be passing statics and.
Again, I will be going for Ben and I will be passing away.
So it will exactly point to this one.
Stocks will be flying to this location and Star White will be flying to this location.
Now I am never changing stocks and starlight, so stocks become statewide.
That means three becomes five and away become stocks.
That means fire becomes three.
That's actually the core by reference.
So that's the difference.
You have on this right now.
So now we can move to the next topic.
That is structured in C++.
Sarkozy might want to hold my April database in a single variable.
Then it is possible in C++.
That's why the U.S. support structure.
So it is a collection of variables of different data rights and single.
OK.
And supposedly an excel by fantastic Dennis.
If I want to start on information about a person, that information would be specific to a single person,
right?
A lot of information can be specific to a person.
ExxonMobil, his name.
Or citizen, no.
Then salary also.
You can create one way to start there are 10 people.
Then we need to start, then we need to create 10 different waiting lists for 10 people.
That means that variable sport steering that there's a.
These 10 people, right, if there are 10 details of the people and there are 10 people living near
to create an independent media, but it's just all these details of people.
But if we had a structure, one structure can hold different database.
So for a one person, we only need to create one structure which holds that information.
OK, so that's what we define our role here.
So I suppose if I wanted to store our number for like sitting like two people out of there and one person
in name, one for one person name do for another person starting their names, sit down for another
one city for the annual salary for all of us, one Saturday for the second month.
So I need to create multiple variables in order to avoid that.
And again, you say concept car structure.
It's very simple to create a sector practically like will be used for creating a structure and just
give that structure name.
So stack first and then we will open the calibrations inside that define all the variables.
Static got a name for free.
That means this variable will store the name of that person this way so they each and this will show
that salary.
So this single structure can hold these three values.
And so if we wanted to create 10 star 10 people name, then we need to create 10 people out of that,
or 10 percent.
Structure out of this particular structure.
So we're going to see an excel.
And you even understand more on this.
So let's go.
So here we have the program for structure, so yet I have created a structure, so struct buster, then
I'm creating the Academy of DataStore, the name of the person.
It's really to create the age of that person and salary floor for starting this output.
Now, in order to create a start desk, person to person number one named item, then I will create
person.
And when you get named to say anything, you can mean naming this dependent depending on the person's
name.
So you again named the structure.
So suppose I have one person, part b one and I know another person guard.
I don't.
Then I can declare one more structure variable.
Like this person, I don't know.
Then what will happen?
We run against all the information specific to be one person, and I can store that information specific,
no, I don't.
And how do we access information specifically for that?
You will use a dark operator.
So nice structure, Jimmy.
Dart made everything inside that structure, OK?
Similarly, structure named Dart made everything inside that structure.
Then section named art made everything inside that structure.
So here I'm asking for.
So here I'm using get function scene, not get function to get this OK?
So let's see how this program works.
Plus plus structure dot CPB.
Dogged or out?
And for name.
I don't know Daryn, Sam, and at age 24, and that's out of 15000.
See, displaying information.
B 1.9 C helping just b 1.9 years Santa H 24 right salary fifteen thousand.