Is there any difference between dlearations int* x and int
*x? If so tell me the difference?
Answer Posted / gopinath das
All the above answers are wrong.
There is no difference between int *x and int* x;
Also there is no agreement on waht is the best practice. It
depends on the organizations coding standard.
Even we can write int*x. But this is not a good practice.
| Is This Answer Correct ? | 31 Yes | 4 No |
Post New Answer View All Answers
What is a sequence in c++?
Explain dangling pointer.
What is input operator in c++?
How the delete operator differs from the delete[]operator?
Explain the properties and principles of oop.
What is abstract class in c++?
What is an iterator class in c++?
What is the difference between passing by reference and passing a reference?
What are the benefits of operator overloading?
Is c++ the best programming language?
What is a manipulator in c++?
What is class invariant in c++?
What do c++ programmers do?
When is the copy constructor called?
What are register variables?