C++ challenges | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

C++ challenges

hi there , why always peopel use in void main(string args[]) , i m new here feel free to challenge me happy coding

25th Aug 2018, 12:46 PM
mez lorrrd
1 Answer
+ 9
public static void main(String[] ) is the signature for the main function in Java. int main() int main(int, char*[]) is the signatures for the main function in C++
25th Aug 2018, 12:50 PM
Hatsy Rei
Hatsy Rei - avatar