Question: What could be the code (only one 8 points line) in the blank white box below so that the value of the variable 'total'

What could be the code (only one 8 points line) in the blank white box below so that the value of the variable 'total' is changed to 100. You can not use the variable 'total' to perform this change. int main() { int marks = 64, *ptr = &marks; int total = 500; } *ptr = 100;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
