answersLogoWhite

0

Can you call main in c plus plus?

User Avatar

Anonymous

14y ago
Updated: 8/19/2019

Of course.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What is the only function all C plus plus programs must contain?

Every C plus plus program that is a main program must have the function 'main'.


How do you use call by reference in c plus plus?

Call by reference means calling a function using a reference to a variable or a pointer. You call a function by passing refrences to a variable. For eg: void x(int &a) { a=2; } void main() { int s=3; x(s); } OR void a(int &c) { c=5;}void main(){ int *p; *p=2a(*p);}


What do you call an object function in c plus plus?

method


What are the main differences between Java and C plus plus?

the difference is that c plus is better because you get big grades


What does c plus plus use call by value or call by reference?

When we call a function in C++ by passing the values as arguments, it is called call by value. e.g #include<iostream.h> #include<conio.h> int add(int,int); int main() { int a,b,c; cout<<"Enter numbers."; cin>>a>>b; c=add(a,b); cout<<"Sum : "<<c; return 0; } int add(int a,int b) { int c; c=a+b; return c; }


A c plus plus statement that invokes a function is known as?

...a function call.


How many main functions are used in c plus plus program?

One.


How do you write a programm in c plus plus without using function main?

I don't think its possible. Every C++ program must at least have the main function.


Why is a main function used by Grady Booch in C plus plus?

All C++ programs require an entry point and the main function provides that entry point.


Which Program that will run in C but not in C plus plus?

void main() { int *x = malloc(sizeof(int) * 10); }


What do you call the combination of variables and functions into a single object in C plus plus?

A singleton.


Main meaning of turbo c plus plus?

Name of a compiler (and IDE) from Borland.