I think you are confused with the data types. Since you declare c as int, why do you put c=='x' ? 'x' is for character. Also for c1, it's declared as char so when you assign 1 to it, you need to put...
Type: Posts; User: papedum
I think you are confused with the data types. Since you declare c as int, why do you put c=='x' ? 'x' is for character. Also for c1, it's declared as char so when you assign 1 to it, you need to put...
Is (*ptr).age the same as ptr->age?
Thanks.
Thanks Prelude.
Sorry to bother you again, but I would like to know how the CTRL+Z works.
Is scanf(..., &num)==1 similar to a boolean true or false where 1 stands for true.
Is there any...
I need help!!
There is a question where I have to create a program to perform Inorder on the following data:
60, 40, 80, 22, 55, 99
I think I got the right coding for Inorder. But I have...
You should check your last printf statement
printf("%d,\n", &prime_answer);
You should omit the & otherwise you might get some funny answer.
unsigned numbers: for positive numbers
signed numbers: for positive and negative numbers
Help! I have problem with quicksort. I think it's to do with the partition function but I just don't know what. The code is below.
Thanks a million.
Hi!
I have some problems with this prgram on link list.I am unable to insert and delete nodes. I also want to know how to display the items in a link list. I suspect there may be pointer problem but...