Suggest the suitable storage class for the variable,"a variable that spans multiple files "
static
extern
register
auto
A function that cells itself directly or indirectly is reffered to as
Recursive function
Function call
Function definition
Prototype
How many values can be returned by a functions
Many
Two
One
None
What would be the output of the function ?
# include < iostream.n>
first (int,int);
second (int);
void main ( ) {
int x=10 , y=5, z;
z=first (x,y);
cout<<"\nz="< first (int x,int y) { return (x+second (y)); } second (int y) { return (++y); }
first (int x,int y) {
return (x+second (y)); }
second (int y) {
return (++y); }
10
15
16
17
The concept in which the same name gives different meanings in different context(with different parameters) is called
Recursive
Function loop
Function execution
Overloading
A function is :
Set of operations
A program
A set of operations ,is part of a program
Task for the computer
The address of the actual arguments which is used to pass to a function is called
Call by reference
Call by value
Return
Suggest the storage class from the following for "a variable that should retain its value after the function call is over ".
This function which is written by the programmer according to its need is known as
Library functions
User-defined functions
Standard functions
built-in functions
Which storage class specifier is a modifier tells the compiler to store a variable in such a way that access to it is as fast as possible
REGISTER
AUTO