182 reputation
111
bio website
location Kolkata, India
age 25
visits member for 1 year, 11 months
seen Oct 20 at 13:43

*** Main Functions ***


C and C++

int main(void);
int main();

int main(int argc, char **argv);
int main(int argc, char *argv[]);
int main(int argc, char **argv, char **envp);

JAVA

public static void main(String[] args)
public static void main(String... args)
public static void main(String args[])

PYTHON

def main():
# the main code goes here

if __name__ == "__main__":
main()

PIKE

int main(int argc, array(string) argv)

SCALA

def main(args:Array[String])

RUBY

self # => main
self.class # => Object
self.class.ancestors # => [Object, Kernel]


Sep
24
awarded  Autobiographer
Sep
11
awarded  Popular Question
Jul
2
awarded  Curious
Jun
17
awarded  Caucus
Jun
8
awarded  Popular Question
Jan
20
awarded  Notable Question
Jul
9
awarded  Popular Question
Jan
1
awarded  Commentator
Nov
20
awarded  Supporter
Nov
19
awarded  Editor
Nov
5
awarded  Student
Nov
5
awarded  Scholar