0

Sololearn coders should sharpen their knowledge. What should be the output? Sololearn says it's 20. Do you agree with them?

#include<iostream> using namespace std; int main() { int x = 10, s = 0; s = sizeof(x = x+20); cout << x << endl; return 0; }

20th Oct 2025, 3:26 PM
Md Mehedi Hasan
Md Mehedi Hasan - avatar
1 ответ
0
Md Mehedi Hasan , do you have a coding related question / issue with your code? or is it just a quizz?
20th Oct 2025, 5:22 PM
Lothar
Lothar - avatar