void function(int a);
void function a(int);
function void(int a);
int function(void);
int func()
int func[]
func int()
int[] func()
Call by value
Call by reference
Call by pointer
Both b and c
int
void
float
double
return
exit
quit
stop
int array[10];
int array;
array int[10];
array[10] int;
1
0
-1
It depends on the array size
char str[] = \"Hello\";
string str = \"Hello\";
Both a and b
None of the above
4
5
6
Depends on the elements
arr[n-1]
arr[n]
arr[n+1]
arr[-1]
A variable that stores the address of another variable
A variable that stores a value
A keyword in C++
An operator in C++
int *ptr;
int ptr;
ptr int*;
*int ptr;
It returns the address of the variable
It returns the value of the variable
It returns the size of the variable
It returns the type of the variable
You can add an integer to a pointer
You can subtract an integer from a pointer
You can subtract two pointers
All of the above
ptr = &x;
ptr = x;
*ptr = &x;
ptr = *x;
Procedural programming language
Object oriented programming language
Functional programming language
Both procedural and object oriented programming language
Concept of allowing overiding of functions
Concept of hiding data
Concept of keeping things in differnt modules/files
Concept of wrapping things into a single unit
Encapsulation
Abstraction
Inheritance
Polymorphism
Multiple
Multilevel
Distributive
Hierarchical
Copy constructor
Friend constructor
Default constructor
Parameterized constructor