Question about C++
-
Consider the following 2 program code segments. Which one utilizes main memory more efficiently, and which one takes up more space in main memory for variables? Code segment #1: int score1, score2, score3; . . Code segment #2: int score[3]; . . :rose: Loli10
-
Consider the following 2 program code segments. Which one utilizes main memory more efficiently, and which one takes up more space in main memory for variables? Code segment #1: int score1, score2, score3; . . Code segment #2: int score[3]; . . :rose: Loli10
no difference in space. they will probably be allocated identically, too (three consecutive DWORDs) -c
Smaller Animals Software, Inc. You're the icing - on the cake - on the table - at my wake. Modest Mouse
-
Consider the following 2 program code segments. Which one utilizes main memory more efficiently, and which one takes up more space in main memory for variables? Code segment #1: int score1, score2, score3; . . Code segment #2: int score[3]; . . :rose: Loli10
Twice programs use the same memory size... Regards Carlos Antollini. Sonork ID 100.10529 cantollini
-
Consider the following 2 program code segments. Which one utilizes main memory more efficiently, and which one takes up more space in main memory for variables? Code segment #1: int score1, score2, score3; . . Code segment #2: int score[3]; . . :rose: Loli10
Told ya so...:laugh: