Search Results

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: comwizz ; Forum: C and child forums
Forum: C Mar 1st, 2006
Replies: 8
Views: 3,474
Posted By comwizz
I did not understand that if the size of the buf variable is 3 then after getting input "y" and "\n" how does stdin terminate the coming input i.e. what would be buf[2]??

char buf[3];...
Forum: C Feb 17th, 2006
Replies: 1
Views: 20,656
Posted By comwizz
I would like to know the exact difference between calloc and which is more useful?? Though calloc allocates memory in the form of blocks and malloc in a single block , do they both allocate memory...
Forum: C Dec 29th, 2005
Replies: 9
Views: 62,956
Posted By comwizz
Forum: C Dec 27th, 2005
Replies: 9
Views: 62,956
Posted By comwizz
I would like to know what is the difference betn
getchar(),getch(), and getche() functions and which should be used in which conditions.
Thanks,
comwizz. :confused:
Forum: C Dec 17th, 2005
Replies: 5
Views: 1,349
Posted By comwizz
Even if we evaluate from the right for j=1 the expression will be evaluated like 1 + 3 + 3 and will still turn out to be 7. Do you mean that theres no conventional way of how to evaluate this...
Forum: C Dec 15th, 2005
Replies: 5
Views: 1,349
Posted By comwizz
I am having this problem with precedence of operators. Its with the increment and decrement operators.

int i,j=1;
i=(j++)+(++j)+(j++);

this evaluates to 6 instead of 7 . Why does this happen....
Forum: C Nov 18th, 2005
Replies: 0
Views: 4,047
Posted By comwizz
Heres a precise and short way to permute any word without pointers
Forum: C Nov 18th, 2005
Replies: 4
Views: 4,392
Posted By comwizz
I want to run this program in C where I can compute 2^(3.5).Is this possible in C?
Forum: C Nov 18th, 2005
Replies: 4
Views: 4,392
Posted By comwizz
Hi everyone,
I am having this problem to define a function which raises a float y eg 3.5 which is not a whole number to the base x.
Heres the code which gives domain error as function pow takes...
Showing results 1 to 9 of 9

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC