C++ is an Object Oriented Programming Language is as we know , perfectly backword compatible with C. Becase of this backword compatibility .. it has got many flaws in it that prevented it to become ...
Guest
Feb 26th, 2006
See Sachidananda Patnaik there are so many implementation of pointer in prospect of c++ language. I think your question is in regards to java, even if is not , i would just like to inform you one o...
What will be the output of the following program in UNIX OS with CC compiler and TC compiler?int main(){ int i=5; printf("\n%d",++i + ++i + ++i + ++i + ++i );} If any difference then Why it is difference?
Undefined behavioroutput may vary from compiler to compilervalue of a variable is getting modified more than once between 2 sequence pointshttp://en.wikipedia.org/wiki/Sequence_point
pointer to constant: If a pointer is pointing to constant it is called as pointer to constant.In this case we cannot change the content of constant.eg : const int n=5; int *p=&n;in thi...
laxmikanth_rajuri
Feb 25th, 2006
Constant pointer:If a pointer is pointing to a constant whose value(constant)can't be changed.Eg:Consider the declaration int a[10];here a is a pointer to the base address of the array say 1000.When w...