int main() { // memory = an array of bytes within RAM (street) // memory block = a single unit (byte) within memory (house), used to hold some value (person) // memory address = the address of where a memory block is located (house address) char a; char b[1]; printf("%d bytes ", sizeof(a)); printf("%d bytes ", sizeof(b)); printf("%p ", &a); printf("%p ", &b); return 0; }
I want to have your work space how did u make it ( vs studio and terminal for execution) is there any settings been made there cz when i try to execute a code dose compile
Is there underlying(under the hood) code that is executed, that will find a memory address to assign to the variable a of data type char when char a = 'X'; is executed by the complier. Or asked a different way, how does the complier know its been given instructions to find a memory address to store a variable when char a = 'X'; is executed.
please give a video that teaches how to code out a .sav file editor, then I will try to hack any games I want to play.😁😁😁 especially editing switch's sav file. I think a lot of people will love this video.😁😁😁
This is very useful when you want to hack a game, if you have hacked a game you know you need to know the address first and edit the data in the address later. I just want to know how to print the stored data in hexadecimal, then it will be quite similar to hacking a game.😁😁😁Or just please give a video that teaches how to code out a .sav file editor, then I will try to hack any games I want to play.
Hi, Probably a naive question, but when I looked up the address on my linux, I got results such as these: 0x7fff9c1f2c2f 0x7fff9c1f2c2e 0x7fff9c1f2c2d I know they're hex as well, but why do they appear like this? Is that formatting configuration on VSCode or is it that the architecture of memory of Linux and Windows is different?
#include
int main()
{
// memory = an array of bytes within RAM (street)
// memory block = a single unit (byte) within memory (house), used to hold some value (person)
// memory address = the address of where a memory block is located (house address)
char a;
char b[1];
printf("%d bytes
", sizeof(a));
printf("%d bytes
", sizeof(b));
printf("%p
", &a);
printf("%p
", &b);
return 0;
}
Thank you! Your channel is one of the reasons I get to keep my job :)
how many times do you get into a situation which makes you feel like ok idk shit and i wanna get back to basics
this channel is so underrated honestly
not using short in a long time was totally funny dude, keep it up
Impressive explanation, respect.
Great explanation, so simple to understand a complex topic!
Oh man you've just clear my doubt.
Thanks 👍
thank you so muchhh wow. i was having trouble understanding this but its so much clearer now!
Great explanation 👍
I am watching this video in 12.18.2024, I am gonna say..... JUST PERFECT BRO🌟
I love the analogy, really help
Gratefull for the rich content.
Awesome bro, Keep it up👍❤
Wow. Wow. Wow. U r my bro!!!!!!
Thanks Bro, you are a Bro.
I want to have your work space how did u make it ( vs studio and terminal for execution) is there any settings been made there cz when i try to execute a code dose compile
Lovely
I have a single question how do you set up a compiler with vscode because i usually use visual studio
perfectly explained
Perfect
Thanks again bro
Is there underlying(under the hood) code that is executed, that will find a memory address to assign to the variable a of data type char when char a = 'X'; is executed by the complier. Or asked a different way, how does the complier know its been given instructions to find a memory address to store a variable when char a = 'X'; is executed.
You need to learn assembly to figure that out
please give a video that teaches how to code out a .sav file editor, then I will try to hack any games I want to play.😁😁😁 especially editing switch's sav file. I think a lot of people will love this video.😁😁😁
Why do memory addresses decrease instead of increment? This just the standard implementation?
i think so
4:09
This is very useful when you want to hack a game, if you have hacked a game you know you need to know the address first and edit the data in the address later. I just want to know how to print the stored data in hexadecimal, then it will be quite similar to hacking a game.😁😁😁Or just please give a video that teaches how to code out a .sav file editor, then I will try to hack any games I want to play.
thank u sooooo much!!!!!!!
Hi,
Probably a naive question, but when I looked up the address on my linux, I got results such as these:
0x7fff9c1f2c2f
0x7fff9c1f2c2e
0x7fff9c1f2c2d
I know they're hex as well, but why do they appear like this? Is that formatting configuration on VSCode or is it that the architecture of memory of Linux and Windows is different?
I think It's because on windows, memory is viewed differently from Linux, not for VSCode
Also how is there x which isn't a hexadecimal character?
@@suriyatest3734
0x: hex
0o: octal
0b: binary
That's too good
What if I told you that you answered all my questions within 30 seconds?
You promised me for face reveal in omegle..... Remember me XD
php course please 😇😇😇
Why do you pronounce char as char
Char as char?
Or char as char?
I like to say char more tbh
Saying char is a disease, say it like: char, the best way
@@hodayfa000h don't char char lol
EXCELLENT!
use a for loop geez :D
int a = 'x';
double a = 'x';
????😅
in C if you assign a character to a variable which is integer or double, it takes the ASCII code of this character. so basically : a = 120
I can say one thing, if the video is made by Bro cODE, i KNOW, that BY THE END OF THE VIDEO I WILL GET THE CONCEPT.
Do memory address takes more space than value itself ?
Val = 1;
But address= 0x648847383883 😂
I don't understand seriously I am wrong I know