9,354
reputation
1
9
6

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]

2
answers
0
questions
~3.6m
people reached
  • Kolkata, India
  • Member for 7 years, 4 months
  • 214 profile views
  • Last seen Dec 17 '19 at 9:08

Top tags (4)

Score 922
Posts 1
Posts % 50
Score 1
Posts 1
Score 1
Posts 1
Score 1
Posts 1

Top posts (2)

Badges (16)

Gold

1

Rarest

Silver

9

Rarest

Bronze

6

Rarest