+ 1

Can we create main function is char type in C++

3rd May 2019, 2:47 PM
Mohit Ravindra Jadhav
Mohit Ravindra Jadhav - avatar
2 Answers
+ 2
the main function can only return int returning any other value, for example, char, will return an error
3rd May 2019, 3:06 PM
Pikachu
Pikachu - avatar
0
Aki Ko thank you
3rd May 2019, 3:07 PM
Mohit Ravindra Jadhav
Mohit Ravindra Jadhav - avatar