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 string example?
What is a constant? Explain with an example.
What is the outcome of cout< a) 16 b) 17 c) 16.5
Using a smart pointer can we iterate through a container?
Who made c++?
What is the difference between equal to (==) and assignment operator (=)?
What is the main purpose of c++?
What is the extension of c++?
Explain how functions are classified in C++ ?
What will the line of code below print out and why?
Of the numbers 12 23 9 28 which would be at the top of a properly implemented maxheap a) 28 b) 9 c) Any of them could be
How does class accomplish data hiding in c++?
Why main function is special in c++?
What is a list c++?
Difference between strdup and strcpy?