righto then.
Cheers for all the comments I understand the junk variable thing alot better now.
Type: Posts; User: hayai32
righto then.
Cheers for all the comments I understand the junk variable thing alot better now.
Cheers for the comments.
The second printout value is understood. no worries. But...
With the first one the value printed out for n (or any other letter) is always constant (2) each time I run...
Cheers.
If you guys got this type of Q in an exam what would you put down?
Also would the junk variable value be different for different compilers?
Hey all,
Just looking through some notes and came accros this code asking what the printout is... I don't understand why n has different values for each.... Is the first value for n a junk value?...
Cheers for that... Not exactly what I'm looking for but I wish I had known about that site before... gives pretty good explanations.
I'm lookin for tutorial/exam type questions like the ones in...
Does anyone here know where I can find some online questions related to associativity and other questions regarding the understanding of C programming with answers?
Cheers in advance
Colin.
Sorry i meant to delete that function hence why it has comment tags... I just removed the ;'s from the defines...
I think I have it worked out now though... I just noticed that the if ()'s were...
When I try to compile the following code in borland it tells me that there is incorrect syntax with the for () loop and that the statement is missing. I don't understand why the syntax is wrong, i...
Sorry i don't really understand the code used above... i have a pretty limited knowledge...
The code where the user inputs needs to be checked is as follows
code:
/*User input section......
cheers... How does that function work and waht does it test for....
I need a function that will check whether the user has inputted an integer number (i.e. not a character) and repeat the input if...
Hey all.
What is the simplest way to check whether a user has inputted an integer and not a character?
Thankyou in advance for any help!
Colin.
hey all, i searched the forum for this query but came up with nothing...
what is the source code for: inverse cosine ?
Is there any bugs in the function i need to be aware of? i.e. any values...
all very fair calls...
I was taking the slack root...
cheers for the link madcow257...
Hey, i'm a newbie to the programming scene (1st year uni) and i need some help...
I have an assignment that requires me to write a c program that solves the roots of a cubic polynomial of the form...