hi there,
sorry i dont have a compiler on this computer and as such had to try and guess. I guess that the if(b=0) isn't required as it would automatically be a false and thus skip that. and...
Type: Posts; User: willgoodenough
hi there,
sorry i dont have a compiler on this computer and as such had to try and guess. I guess that the if(b=0) isn't required as it would automatically be a false and thus skip that. and...
how about something like this?
I think my mind works in strange ways sometimes lol. This is to do a 4 bit word to simplify it a bit.
Unsigned int Reverse(unsigned int var1)
{
Thanks smokey, I will look into it. its pretty complex for a question and I will have a go.
thank you for all your help mate, much appreciated :)
and Rags.. no worries man, i don;'t use...
Smokey,
I'm understanding that the section of code is incrementing the pointer str1 and str2 together on a continuous loop until it reaches a zero value. hense why it is important to have that...
what is REALLY frustrating me is that when i did c programming a couple of years ago, I was quite good at it haha. I understood what I was doing (albeit relatively simple) and now I have completely...
tbh, that still doesn't really make it clearer... is it stating a condition to be met? like pointer str2 and str1, when incremented do not equal 0?
also, ive been thinking and looking at the bit...
With questions 1 and 2... my thoughts are that the while loop is doing a do-while-do action and will only work once for the condition its trying to match. I understand the ++ incrementing and the...
I'm not trying to just get the answers to get a job... I did c prog a couple of years back and enjoyed it. but since then I have forgotten so much and not done anything with it. I am after the...
Sorry all, I don't know what that is in the corner.
Hi all,
I recently have started to learn about c programming and in a job interview I was asked several questions that I am trying to find the answers to...
Q1 Explain the function of the...