i am a new student of cprgramming. i waned a basic sample of getchar() function so, please help me.
Printable View
i am a new student of cprgramming. i waned a basic sample of getchar() function so, please help me.
a sample of a getchar() function
Take a look at cppreference.com's Standard C I/O pages.
As I stated in the other (now deleted) thread, read the forum guidelines, read the homework policy (also at the announcements section), search the board and search the Web before you ask. Oh, and use descriptive names for your threads.
There we go. An example.Code:int c = getchar();