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
Where must the declaration of a friend function appear?
Should I learn c or c++ first?
Do vectors start at 0?
Explain mutable storage class specifier.
What is the fastest c++ compiler?
Is it possible for a member function to delete the pointer, named this?
How would you use the functions randomize() and random()?
How many static variables are created if you put one static member into a template class definition?
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
What is the sequence of destruction of local objects?
What does flush do?
What are dynamic type checking?
What is polymorphism in c++? Explain with an example?
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
If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?