C++ Pointers & Functions Question:
Download Questions PDF

Which is more effective while calling the functions?
a) call by value
b) call by reference
c) call by pointer
d) none of the mentioned

C++ Pointers & Functions Interview Question
C++ Pointers & Functions Interview Question

Answer:

b) call by reference

Download C++ Pointers & Functions Interview Questions And Answers PDF

Previous QuestionNext Question
The output of this program?

#include <iostream>
using namespace std;
int main()
{
int arr[] = {4, 5, 6, 7};
int *p = (arr + 1);
cout << *p;
return 0;
}
a) 4
b) 5
c) 6
d) 7
How many max number of arguments can present in function in c99 compiler?
a) 99
b) 90
c) 102
d) 127