249
reputation
1
5
15

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]

0
answers
8
questions
~62k
people reached
  • Kolkata, India
  • Member for 6 years, 8 months
  • 31 profile views
  • Last seen Jun 20 at 8:10

Top tags (23)

Score 0
Posts 5
Posts % 62
Score 0
Posts 3
Score 0
Posts 2
Score 0
Posts 1
Score 0
Posts 1
Score 0
Posts 1

Top posts (8) All Questions Answers | Votes Newest

Badges (21)

Gold

1

Rarest

Silver

5

Rarest

Bronze

15

Rarest