Code:B.)
void Function()
{
//myCode
}
This is because in:Code:A.)
int *myPointer
int *myPointer, myPointer2;
myPointer2 wouldn't be a pointer to an int, it would just be an int, so having the * closer to the variable name is clearer.
I like the false first, because condition might be very very long and I'd rather not scroll horizontally.Code:A.)
if (false == condition)
Code:A.)
const char msg[] = "Welcome to Utah.";
Code:A.)
void Function(int& x){
x = 25;
}
int main(void){
int x=0;
Function(x);
return 0;
}
