- 1

how to freeze memory

I want that user can input only 1 character .

9th Sep 2016, 10:31 AM
Vivek 331
3 Answers
+ 1
#include <cstdio> int main(void) { char c=getchar(); ... }
9th Sep 2016, 11:21 AM
Zen
Zen - avatar
0
thanks
9th Sep 2016, 11:21 AM
Vivek 331
0
by using c++
9th Sep 2016, 1:15 PM
Aswin Michael