What are mandatory parts in the function declaration?
How many can max number of arguments present in function in the c99 compiler?
1 Crore+ students have signed up on EduRev. Have you? Download the App |
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
void mani()
void mani()
{
cout<<"hai";
}
int main()
{
mani();
return 0;
}
What is the scope of the variable declared in the user defined function?
which of the following is used to terminate the function declaration?
Which is more effective while calling the functions?
What will be the output of the following C++ code?
#include <iostream>
using namespace std;
void fun(int x, int y)
{
x = 20;
y = 10;
}
int main()
{
int x = 10;
fun(x, x);
cout << x;
return 0;
}
How many minimum number of functions should be present in a C++ program for its execution?
15 videos|20 docs|13 tests
|
15 videos|20 docs|13 tests
|