1,044 reputation
34
bio website
location Kolkata, India
age 25
visits member for 1 year, 11 months
seen 23 hours ago

*** 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]


1,044 Reputation

10 Oct 17
10 Oct 6
20 Oct 5
10 Oct 4
20 Oct 1
10 Sep 20
20 Sep 17
8 Sep 5
10 Sep 4
10 Aug 27
10 Aug 25
10 Aug 22
0 Aug 19
10 Aug 13
10 Aug 7
10 Jul 30
10 Jul 28
10 Jul 22
10 Jul 20
10 Jul 18
20 Jul 9
10 Jul 1
10 Jun 24
10 Jun 23
10 Jun 18
10 Jun 16
10 Jun 15
10 Jun 11
10 Jun 9
10 Jun 6