# Search:

Type: Posts; User: seten

1. ## Thread: This should be an easy one for yall (beginner)

by seten
Replies
6
Views
287

### I think I understand what youre saying on its own...

I think I understand what youre saying on its own but I must not because I don't see how that contradicts my statement.
Foo returns (q+y) which in this case is (x+y) or (1), and I understand that...
2. ## Thread: This should be an easy one for yall (beginner)

by seten
Replies
6
Views
287

### So is q automatically 0 since we never assigned...

So is q automatically 0 since we never assigned it a value? and is foo(x) the just the value that foo returns if it used x as the value instead of q?

So when it jumps to foo which prints q=0 and...
3. ## Thread: This should be an easy one for yall (beginner)

by seten
Replies
6
Views
287

### This should be an easy one for yall (beginner)

Okay, help me understand whats going on here.

#include <stdio.h>

int foo (int q) { /* so here we're declaring a function called foo which returns an integer.
(int q) means that our foo...
Results 1 to 3 of 3