+ 2
Why there is no proper output?
10 ответов
+ 2
you are write bro try for a[0]
you will get as "No output"
@D B
+ 2
Everything is correct for a[0] to a[2] there is an output.
+ 2
I changed the code try to get for a[2]
and justify
+ 2
for a[2] u must get '/' instead of '//'
justify?
+ 2
char type variables can only store one character. "//" is considered a string, and u shouldn't assign a string to a char.
+ 1
For me, the output is:
/
I don't know why one slash is missing tho, I've never coded in C++
+ 1
Why are you confused
It's ouput is correct.
+ 1
It's output is correct
+ 1
no no no something is wrong
+ 1
correct bro @Low Kai Han