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 relational operators if statements in c++?

642


What is functions syntax in c++?

614


What is a syntax in c++?

604


What are the types of array in c++?

618


How can we read/write Structures from/to data files?

617






Is c++ a float?

604


What is an html tag?

628


What is near, far and huge pointers? How many bytes are occupied by them?

658


How do you master coding?

561


What are signs of manipulation?

587


Does there exist any way to make the command line arguments available to other functions without passing them as arguments to the function?

741


Explain about vectors in c ++?

593


Program to check whether a word is a sub-string or not of a string typed

1594


What do you mean by translation unit in c++?

669


What is a dynamic binding in c++?

529