What act as a means of communication between the calling and called function?
Arguments
Function name
Function type
Scope
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
What is auto ?
Storage class specifier
local variable
key word
All these
What would be the output of the following program ? #include < iostream.n> int val = 10 ; divide (int); void main ( ) { int val =5; val=divide (val=val/5); cout < } divide (int x) { return.(x/val); }
2
5
0
1
All the function prototypes are terminated with ___________
underscore
semicolon
colon
dot
The declaration of a function in the calling program is known as
prototype
definition
function call
return
A function is :
Set of operations
A program
A set of operations ,is part of a program
Task for the computer
Function definition void check (int i,char*j) is
Call by value
Call by reference
Both a and b
Invalid function
In which header file the function clrscr ( ) in included?
iomanip.h
conio.h
stdio.h
iostream.h
Pick the correct storage class for " a variable global in one file and not available in another file "
register
global
static global
static