what is the difference between getch() and getche()?
Answer Posted / ayaskanta
getch is used to get a character from keyboard. once a key
is pressed it goes back to blue screen. In the case of
getche the compiler waits for you to press ENTER after you
have entered another character through keyboard.
| Is This Answer Correct ? | 14 Yes | 9 No |
Post New Answer View All Answers
What is %s and %d in c?
Explain what are preprocessor directives?
what are bit fields in c?
What is mean by data types in c?
What is difference between structure and union in c?
can we have joblib in a proc ?
a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none
What are dangling pointers in c?
How pointers are declared?
What are the types of operators in c?
write a program for the normal snake games find in most of the mobiles.
What is keyword with example?
Tell us the use of fflush() function in c language?
What is define c?
Write a C program linear.c that creates a sequence of
processes with a given length. By
sequence it is meant that each created process has exactly
one child.
Let's look at some example outputs for the program.
Here the entire process sequence consists of process 18181:
Sara@dell:~/OSSS$ ./linear 1
Creating process sequence of length 1.
18181 begins the sequence.
An example for a sequence of length three:
Sara@dell:~/OSSS$ ./linear 3
Creating process sequence of length 3.
18233 begins the sequence.
18234 is child of 18233
18235 is child of 18234
........ this is coad .... BUt i could not compleate it .....:(
#include