[Solved] where in memory are this variables stored on c? [closed]

global variables ——-> data static variables ——-> data constant data types —–> code and/or data. Consider string literals for a situation when a constant itself would be stored in the data segment, and references to it would be embedded in the code local variables(declared and defined in functions) ——–> stack variables declared and defined in … Read more

[Solved] Should C compilers immediately free “further unused” memories? [closed]

I don’t know where you get your analysis from. Most parts like the abstract syntax tree is kept because it is used in all different passes. It might be that some, especially simple compilers don’t free stuff because it’s not considered necessary for a C compiler. It’s a one shot compilation unit operation and than … Read more

[Solved] Is it possible to upgrade the RAM of Lenovo yoga 310-11|ap

The best source of information is usually service manual, so: Google -> “lenovo yoga 310 11 service manual” -> in my case first link: https://usermanual.wiki/Lenovo/Yoga31011IapHmm201609.643576809.pdf -> there’s nothing about RAM replacement => sorry, it’s impossible 1 solved Is it possible to upgrade the RAM of Lenovo yoga 310-11|ap

[Solved] Which RAM type should I get for my laptop? [closed]

Definitely off topic but I feel compelled to answer anyway. Stack Overflow is for programming questions. Please use Super User or a hardware forum in future. The link below says your laptop supports upto 8GB DDR3 1333MHz(PC3-10600) 204-pin SODIMM RAM so get 2x 4GB sticks. As long as you search for “DDR3 1333Mhz 204” or … Read more