1,394 reputation
144
bio website
location Kolkata, India
age 26
visits member for 2 years, 1 month
seen 17 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,394 Reputation

10 Dec 19
10 Dec 18
20 Dec 16
10 Dec 14
10 Dec 13
20 Dec 11
10 Dec 9
10 Dec 5
20 Dec 4
20 Nov 28
10 Nov 27
20 Nov 26
10 Nov 25
0 Nov 22
10 Nov 20
10 Nov 19
30 Nov 17
10 Nov 14
10 Nov 12
10 Nov 5
20 Nov 4
20 Nov 3
10 Nov 2
10 Oct 31
10 Oct 28
10 Oct 27
10 Oct 24
10 Oct 17
10 Oct 6
20 Oct 5