Creating a variable inside a function arguments

In the following code:


1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>                              // For stream I/O
using namespace std;

int function(int a)
{
	return a;
}

int main()
{
	function(int b);
}


Why is creating a variable inside the function argument list not allowed. Any reason other then for the language syntax or just for the language syntax?
Registered users can post here. Sign in or register to post.