Is there any difference between dlearations int* x and int
*x? If so tell me the difference?
Answer Posted / sandy
NO difference
Case 1:
int* x,y,z;
and
Case2:
int *x,y,z;
these two cases are also exactly same.
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
When are exception objects created?
Why use of template is better than a base class?
What are its advantages and disadvantages of multiple inheritances (virtual inheritance)?
What are protected members in c++?
How does a copy constructor differs from an overloaded assignment operator?
Is c++ used anymore?
When must you use a pointer rather than a reference?
Why are pointers not used in c++?
What is the difference between struct and class?
Is c++ primer good for beginners?
What is c++ 11 and c++ 14?
Can char be a number c++?
Why do we use setw in c++?
Why do we use templates?
Assume an array of structure is in order by studentID field of the record, where student IDs go from 101 to 500. Write the most efficient pseudocode algorithm you can to find the record with a specific studentID if every single student ID from 101 to 500 is used and the array has 400 elements. Write the most efficient pseudocode algorithm you can to find a record with a studentID near the end of the IDs, say in the range from 450 to 500, if not every single student ID in the range of 101 to 500 is used and the array size is only 300