139
reputation
4

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]

1
answer
0
questions
~11k
people reached
  • Kolkata, India
  • Member for 8 years, 3 months
  • 6 profile views
  • Last seen Nov 12 '19 at 6:18

Top tags (5)

Score 3
Posts 1
Score 3
Posts 1
Score 3
Posts 1
Score 3
Posts 1
Score 3
Posts 1

Top posts (1)

Badges (4)

Gold

Silver

Bronze

4

Rarest