Forum: C May 27th, 2009 |
| Replies: 11 Views: 487 |
Forum: C May 27th, 2009 |
| Replies: 11 Views: 487 oh!! then does this problem arise because of the problem in allocating the required amount of memory by the compiler ? |
Forum: C May 27th, 2009 |
| Replies: 11 Views: 487 thanks for your response. but can u please tell me why executable statements cant be given before variable declaration ? |
Forum: C May 27th, 2009 |
| Replies: 11 Views: 487 i couldn't find the answer. can u please help me if you know the answer. |
Forum: C May 27th, 2009 |
| Replies: 11 Views: 487 clrscr() is usually given after the declaration of all variables. If it is given before the declaration(of variables), the compiler points out an error. Why is this due to ? Will there be any problem... |
Forum: C May 27th, 2009 |
| Replies: 6 Views: 678 what do you mean in the last line ? can u please explain ? |
Forum: C May 27th, 2009 |
| Replies: 9 Views: 60,607 getch() returns the character you typed without displaying it on the screen.
getche() returns the character you typed by displaying(echoing) it on the screen.
and finally, getchar() works similarly... |
Forum: C May 27th, 2009 |
| Replies: 6 Views: 678 can anyone please tell me the function of calloc() and malloc() and the difference between them ...
what does (char*)malloc(n) mean ?? |
Forum: C++ Jun 26th, 2008 |
| Replies: 8 Views: 1,636 In the 10th line of your coding,
cout should be followed by "<<" and not ">>"
Rectify this and run the program.. The program will work.. |