That's great, thanks guys.
Type: Posts; User: ÉireKarl
That's great, thanks guys.
Damn I forgot that, first thing they thought us too.I tried running it, don't know what's wrong with it. This is what I'm doing:
#include <stdio.h>
void main()
{ int X=2, Y=11;
...
Oh ok, and Y does equal 14/3?
And how would I check this using devc++? Sorry I have the lowest of understanding when it comes to this subject.
Oh right sorry, I just thought you meant X=11 when you printf(). In the second function, are they just making it int X; to confuse me or does it have to be int X; ?
Yeah, the answers I got were X=11 and Y=14/3
I understand the X part because it's equal to the pointer of Y right?
But I'm wondering why X doesn't equal 2 after you printf() considering it...
Ok so I'v been told already how to do this question in another thread which got troll bombed. All I'm asking for is the answer so that I can work out the cinks in my head. Thanks.
b) If a program...
Uhh... Am I still in the right thread?
But seriously, could someone give me an answer so I can see where I'm going wrong please?
Because it doesn't have an address to point to?:confused:
Or does X=2 and Y=14/3?
Ahh, ok thanks for narrowing that down!
So... does X=11 and Y=14/3 d(*.*)b?
Fine then you want me to code it :p?
func(X,&Y);
Mainly the func(....) part. I just don't understand what it does.
So, anyone got an answer for me? :)
Yeah I'm gonna give that tutorial another look over.
Ok thanks, but I'm still not really understanding how the first function has anything to do with the second. C does not click with me.
Is it saying Q is pointing to x from the first function?
Does...
Ok so I got this question in one of our exams and I havn't a clue on how to answer it. Can someone please explain what the question is asking?
Thanks :)
b) If a program contains the main...