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


Please Help Members By Posting Answers For Below Questions

What is the use of map in c++?

609


Which is the best c++ compiler for beginners?

562


What is a c++ object?

617


What do you mean by late binding?

621


Can you explicitly call a destructor on a local variable?

602






What is function overloading c++?

572


What is abstraction with real time example?

621


What is array in c++ pdf?

556


What is the latest version on c++?

689


What is the purpose of extern storage specifier?

625


How does atoi function work?

628


Can static member variables be private?

628


Describe the role of the c++ in the tradeoff of safety vs. Usability?

713


What is this pointer in c++?

735


Which sort is best for the set: 1 2 3 5 4 a) Quick Sort b) Bubble Sort c) Merge Sort

661