+ 1
Cant we write char main() {}
int main() { return 0.; } void main() { } similarly for char main()
2 Answers
+ 1
Yes you can, and then you must return a char at the end.
like, return 'a';
+ 1
pls give me an example
int main() { return 0.; } void main() { } similarly for char main()