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
Why cstdlib is used in c++?
What is class syntax c++?
What is the difference between the functions memmove() and memcpy()?
What is a block in c++?
What is jump statement in C++?
When we use Abstract Class and when we use Interface?where we will implement in real time?
Can you pass a vector to a function?
What is setiosflags c++?
Which programming language is best?
What is enum class in c++?
What is the word you will use when defining a function in base class to allow this function to be a polimorphic function?
What is a dangling pointer in c++?
What is a breakpoint?
What doescout<<(0==0) print out a) 0 b) 1 c) Compiler error: Lvalue required
What is encapsulation in c++?