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
Which command properly allocates memory a) char *a=new char[20]; b) char a=new char[20]; c) char a=new char(20.0);
What is the precedence when there is a global variable and a local variable in the program with the same name?
What is a constant? Explain with an example.
Draw a flow chart and write a program for the difference between the sum of elements with odd and even numbers. Two dimensional array.
What is pointer -to-members in C++? Give their syntax?
What does int * mean in c++?
What is the most powerful coding language?
A mXn matrix is given and rows and column are sorted as shown below.Write a function that search a desired entered no in the matrix .with minimum complexity 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
What is c++ best used for?
Explain mutable storage class specifier.
What is #include math h in c++?
What is static in c++?
Explain bubble sorting.
What is the extraction operator and what does it do?
What is the difference between cin.read() and cin.getline()?