Is there any difference between dlearations int* x and int
*x? If so tell me the difference?
Answer Posted / uma sankar pradhan
There is no difference between int* x and int *x
Because in C,the number of spaces between two literals
doesnot mean anything.
example,
a+b is same as a + b or a+ b or a +b
| Is This Answer Correct ? | 11 Yes | 3 No |
Post New Answer View All Answers
How long it will take to learn c++?
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
Is linux written in c or c++?
Differentiate between the message and method in c++?
Define the process of handling in case of destructor failure?
Explain linked list using c++ with an example?
Define whitespace in C++.
What are features of c++?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
How java is different from c and c++?
Explain the difference between realloc() and free() in c++?
Why ctype h is used in c++?
What is main function in c++ with example?
What are the different types of polymorphism in c++?
Can non-public members of another instance of the class be retrieved by the method of the same class?