Variable value assignment

Hello everyone, I just wanted to ask what the difference between assigning a variable using the assignment operator and using parenthesis is.

int num = 100;
int num(100);

I heard that using the parenthesis is better and should always be used when initializing variables with a value, but what is the difference?
There is none.
Topic archived. No new replies allowed.