+ 1

What is the output

float this =20.398 cout<<this;

11th May 2018, 2:28 AM
Fenny Otieno
Fenny Otieno - avatar
4 Respostas
+ 10
'this' is a reserved keyword in C++ and cannot be used as a variable name.
11th May 2018, 2:40 AM
Hatsy Rei
Hatsy Rei - avatar
+ 2
why don't you try it on the code playground?😕
11th May 2018, 2:35 AM
Akib
Akib - avatar
+ 2
11th May 2018, 2:43 AM
$±𝐎â‚č𝔭!𝐹𝓝
$±𝐎â‚č𝔭!𝐹𝓝 - avatar
+ 2
you can not use keyword name as variable name.
11th May 2018, 2:45 AM
$±𝐎â‚č𝔭!𝐹𝓝
$±𝐎â‚č𝔭!𝐹𝓝 - avatar