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 function prototyping? What are its advantages?
What do you mean by function pointer?
Define vptr.
Why do we need constructors in c++?
Explain mutable storage class specifier.
When does the c++ compiler create temporary variables?
What are guid? Why does com need guids?
What is operators in c++?
What are shallow and deep copies?
Is swift a good first language?
Explain the concept of copy constructor?
What is a stack c++?
Explain binary search.
What are the two types of comments, and how do they differ?
What is a template in c++?