No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
Re: 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 and echos the character that u typed on the screen after "enter" is given. hope you understood!! all the best !! … | |
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 in allocating the required amount of memory if at all clrscr() is given before the … | |
Can anyone explain the difference between * ptr++ and ++ *ptr ? To my understanding, * ptr++ increments the pointer and not the value pointed by it and ++ *ptr increments the value being pointed by it. Does the former mean incrementing the address of the pointer ? Please explain. … | |
can anyone please tell me the function of calloc() and malloc() and the difference between them ... what does (char*)malloc(n) mean ?? | |
Re: In the 10th line of your coding, cout should be followed by "<<" and not ">>" Rectify this and run the program.. The program will work.. |
The End.