Explain this code output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Explain this code output?

int Iint[] = {10, 20, 30}; cout << *a + 1;

22nd Sep 2020, 8:44 AM
Gideon
Gideon - avatar
5 Answers
+ 4
Can you please give your code in code playground and share the link? Not understanding with a simple information: https://www.sololearn.com/post/75089/?ref=app
22nd Sep 2020, 8:56 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 2
Gedion Are you sure that was the question?I think you missed something
22nd Sep 2020, 9:04 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 2
I don't think such a low quality question will be asked on challenge
22nd Sep 2020, 9:07 AM
The future is now thanks to science
The future is now thanks to science - avatar
+ 1
I found this code in the challenge
22nd Sep 2020, 9:01 AM
Gideon
Gideon - avatar
+ 1
Code will not compile, syntax error at line 1, and missing definition of variable <a>.
22nd Sep 2020, 9:05 AM
Ipang