In a single scope it is impossible to declare same name with more variables, compiler will through compilation error. but you can dot he following way to declare same name variable..
int main()
{
int var;
/// Use variables
{ /* different scope with in the function */
int var = 10;
/// Use the variable
after this line var is not accessible anymore to this function
}
int var ; // This will give compilation error because it is already defined in this scope.