title: What is causing this too few arguments error?
body: <p>I am working on getting inputs from keyboard and pass them to variales in C++. I am getting too few argument error. </p>
  
  <pre><code>#include &lt;stdio.h&gt;
  void_fullname(char fname, char lname) {
      printf("Enter Your First Name\n");
      scanf( "%d", &amp;fname );
      printf("Enter Your Last Name\n");
      scanf( "%d", &amp;lname );
      printf("Welcome: %d\n",First Name + Last Name)\n");
  }
  
  int main() {
      printf( "1.Full Name\n" );
      printf( "2.Exit\n" );
      scanf( "%d", &amp;input );
      switch ( input ) {
          case 1:          
              void_fullname();
              break;
      }
  
      getchar();
  }
  </code></pre>