101 reputation
1
bio website
location Kolkata, India
age 26
visits member for 2 years, 3 months
seen Oct 31 '14 at 10:53

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


This user has not answered any questions
This user has not asked any questions
This user has not participated in any tags
Ask Ubuntu 1,754 rep 144
Stack Overflow 542 rep 1833
Raspberry Pi 222 rep 313
Unix & Linux 189 rep 111
Super User 139 rep 4

0 Votes Cast

This user has not cast any votes