If what you meant is
what is the difference between char *a="abcd" & char a[]=-"abcd" ?
What Sahil Jain said applies here also. From usage point of view, the a in a[] is actually a constant...
Type: Posts; User: jagatsastry; Keyword(s):
If what you meant is
what is the difference between char *a="abcd" & char a[]=-"abcd" ?
What Sahil Jain said applies here also. From usage point of view, the a in a[] is actually a constant...
The main() returns two values only, either 1 or 0 ::
The main can return any integer value and any value other than 0(EXIT_SUCCESS actually) indicates that the program's execution was a failure. The...
The c & c++ standard say that the return type of the main() function must be int. Otherwise the behavior is undefined. Some good compilers(like gcc) even show an error msg when u use void or float...