Is there any difference between dlearations int* x and int
*x? If so tell me the difference?
Answer Posted / steve
I think there is no difference.
Also,
Case 1:
int* x,y,z;
and
Case2:
int *x,y,z;
these two cases are exactly same.
In both cases, y and z are not pointers. They are int.
| Is This Answer Correct ? | 32 Yes | 4 No |
Post New Answer View All Answers
Describe delete operator?
Write a program to find the Factorial of a number
Define whitespace in C++.
Do class method definitions?
Which is better turbo c++ or dev c++?
What is meant by const_cast?
explain the reference variable in c++?
How can a struct in c++ differs from a struct in c?
Why do we need templates?
What is heap sort in c++?
What c++ is used for?
Mention the storage classes in c++.
Is it possible for a member function to use delete this?
What is a virtual destructor? Explain the use of it?
What do you mean by static variables?