222 reputation
3 14

Shantanu Banerjee

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

Top Tags (14)

Score 2
Posts 1
Posts % 17
Score 2
Posts 1
Score 0
Posts 4
Score 0
Posts 2
Score 0
Posts 2
Score 0
Posts 1

Top Posts (6) All Questions Answers | Votes Newest

Badges (17)

Gold
Silver 3

Rarest

Bronze 14

Rarest