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
Can we define a constructor as virtual in c++?
Define a constructor - what it is and how it might be called (2 methods)?
What is a type library?
Differentiate between C and C++.
Can a program run without main?
Why do we need runtime polymorphism in c++?
What are features of c++?
Explain the difference between realloc() and free() in c++?
Write an algorithm that determines whether or not an almost complete binary tree is a heap.
Why ctype h is used in c++?
What is pointer to array in c++?
What does 7/9*9 equal ? a) 1 b) 0.08642 c) 0
What is a virtual destructor? Explain the use of it?
Is dev c++ a good compiler?
Define basic type of variable used for a different condition in C++?