Is there any difference between dlearations int* x and int
*x? If so tell me the difference?
Answer Posted / steve
I think there is no difference.
Also,
Case 1:
int* x,y,z;
and
Case2:
int *x,y,z;
these two cases are exactly same.
In both cases, y and z are not pointers. They are int.
| Is This Answer Correct ? | 32 Yes | 4 No |
Post New Answer View All Answers
Why c++ is called oop?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
Can constructor be private in c++?
Can we inherit constructor in c++?
What is late binding c++?
What is rvalue?
What is an accessor in c++?
What is the auto keyword good for in c++?
Will a catch statement catch a derived exception if it is looking for the base class?
How can I learn dev c++ programming?
Explain the difference between abstract class and interface in c++?
What is a type library?
Explain the difference between new() and malloc() in c++?
How is c++ used in the real world?
Do you know what is overriding?