I read some tutorials, and found that they always use int main() {} despite the fact that void main(){} is OK! . I wondered why? So, this article tells me the answer :)
Type: Posts; User: nichya88
I read some tutorials, and found that they always use int main() {} despite the fact that void main(){} is OK! . I wondered why? So, this article tells me the answer :)
Thank all of you, now I have to understand it. :)
Thank you. I think I must read more to understand what you said ^^ It's a little bit complicated with me.
Today I've learned some concepts about Pointer in C++ and I have a confusion in this code snippet and its result.
Source Code:
// Pointer array
#include <iostream>
using namespace std;
...