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
Explain the pure virtual functions?
Give 10 points of differences between C & C++.
What is tellg () in c++?
Does c++ have a hash table?
What do you mean by storage classes?
Will a catch statement catch a derived exception if it is looking for the base class?
How are virtual functions implemented in c++?
Why are pointers used?
Why is null pointer used?
What is the difference between the parameter to a template and the parameter to a function?
Can static member variables be private?
Difference between struct and class in terms of access modifier.
Explain the advantages of using friend classes.
Is c++ a programming language?
Carry out conversion of one object of user-defined type to another?