Why there is no proper output? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
26th Feb 2018, 10:45 AM
Anoop C C
Anoop C C - avatar
10 Answers
+ 2
you are write bro try for a[0] you will get as "No output" @D B
26th Feb 2018, 3:13 PM
Anoop C C
Anoop C C - avatar
+ 2
Everything is correct for a[0] to a[2] there is an output.
10th Mar 2018, 1:53 AM
Shubham Negi
Shubham Negi - avatar
+ 2
I changed the code try to get for a[2] and justify
10th Mar 2018, 2:05 AM
Anoop C C
Anoop C C - avatar
+ 2
for a[2] u must get '/' instead of '//' justify?
10th Mar 2018, 2:08 AM
Anoop C C
Anoop C C - avatar
+ 2
char type variables can only store one character. "//" is considered a string, and u shouldn't assign a string to a char.
10th Mar 2018, 3:06 AM
Hanz
Hanz - avatar
+ 1
For me, the output is: / I don't know why one slash is missing tho, I've never coded in C++
26th Feb 2018, 3:10 PM
D B
D B - avatar
+ 1
Why are you confused It's ouput is correct.
10th Mar 2018, 12:26 AM
Adarsh Singh
Adarsh Singh - avatar
+ 1
It's output is correct
10th Mar 2018, 2:07 AM
Adarsh Singh
Adarsh Singh - avatar
+ 1
no no no something is wrong
10th Mar 2018, 2:08 AM
Adarsh Singh
Adarsh Singh - avatar
+ 1
correct bro @Low Kai Han
10th Mar 2018, 4:59 AM
Anoop C C
Anoop C C - avatar