Idk why i have a declaration syntax error(I'm just a beginner)

172 Views Asked by At

enter image description here

Here it says "declaration syntax error"

Expected it to run without errors

1

There are 1 best solutions below

0
Amartya Deshmukh On

You missed a semi-colone on line 6.

char ch1 = 'a';