title: Passing and returning variables in C
body: <p>I'm trying to pass variables from one function to another.</p>
  
  <p>Like for example:</p>
  
  <p>FuncA: takes in 3 inputs from the user and I want to use those 3 inputs in FuncB.</p>
  
  <p>How would I do that? Would I just return the 3 values from FuncA and just pass it in as parameter of Func B?</p>
  
  <p>Would I do something like this?
  **Without using pointers.</p>
  
  <pre><code>int FuncA(void);
  int FuncB(int A, int B, int C, int D, int E);
  
  int main(void)
  {
      FuncA(void);
      FuncB(A,B,C);
  }
  
  int FuncA(void)
  {
      printf("Enter 3 number:");
      scanf("%d %d %d" &amp;A, &amp;B, &amp;C);
      return A, B, C;
  }
  
  int FuncB(int A, int B, int C)
  {
      .............
  }
  </code></pre>