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
What are stacks?
what is a class? Explain with an example.
Can c++ do everything c can?
What is a class template in c++?
Is there any function that can skip certain number of characters present in the input stream?
Write a function to find the nth item from the end of a linked list in a single pass.
Why are pointers used?
What is virtual methods?
What it is and how it might be called (2 methods).
What are the types of pointer?
What is setbase c++?
Differentiate between realloc() and free().
If there are two catch statements, one for base and one for derived, which should come first?
Why do we use classes in c++?
What are enumerations?