0
How does this code work
These are two same codes written in java nd cpp respectively. One works fine the other generates error. Please explain its working https://code.sololearn.com/cTSN37AqLxXt/?ref=app https://code.sololearn.com/cgHjO54brV9q/?ref=app
4 odpowiedzi
+ 1
It's because java cannot handle these values. C++ just fills it with a 0
+ 1
You need initiliaze your java field first int a = .....;
0
QUite tricky
0
Dwi Novianto Nugroho but how still it works in cpp is it a specific characteristic of cpp