C++ Programming and Technical Programming Technical

What do you mean by persistent and non persistent objects?

Read Solution (Total 0)

C++ Other Question

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
What are friend classes? What are advantages of using friend classes?