C++ Programming and Technical

Explain passing objects by reference, passing objects by value and passing objects by pointer.

Read Solution (Total 0)

C++ Other Question

What is the difference between an external iterator and an internal iterator? Describe an advantage of an external iterator. What will be the output?

main()
{
int a[]={1,3,5,7};
printf("%d",&a[3]-&a[1]);
}


Options
1) 1
2) 2
3) 3
4) 4