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
What are disadvantages of pointers?
What is istream c++?
what are the decision making statements in C++? Explain if statement with an example?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
What kind of jobs can I get with c++?
What are the advantages of using a pointer? Define the operators that can be used with a pointer.
Mention the purpose of istream class?
Write a program using display() function which takes two arguments.
What is the best free c++ compiler for windows?
Can we overload operator in c++?
Mention the storage classes in c++.
How do c++ struct differs from the c++ class?
How much do c++ programmers make?
Can you write a function similar to printf()?
an integer constant must have atleast one a) character b) digit c) decimal point