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
Are c and c++ similar?
Why c++ is so important?
What is a rooted hierarchy?
What is auto used for in c++?
What are structures and unions?
How do I use arrays in c++?
What are libraries in c++?
How do you remove an element from a set in c++?
What is stoi in c++?
Explain abstraction.
What is a constructor in c++ with example?
What is while loops?
Explain about Garbage Collector?
Show the declaration for a static function pointer.
Why do we learn c++?