what is the difference between getch() and getchar()?
Answer Posted / non linearly
getch()
1. Does not echo
2. procces immediatly the typed character
| Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What are different types of variables in c?
Which control loop is recommended if you have to execute set of statements for fixed number of times?
Explain the process of converting a Tree into a Binary Tree.
Explain spaghetti programming?
I need a sort of an approximate strcmp routine?
What is type qualifiers?
formula to convert 2500mmh2o into m3/hr
What is pointer to pointer in c with example?
How many keywords (reserve words) are in c?
What is a list in c?
main(){char *str;scanf("%s",str);printf("%s",str); }The error in the above program is: a) Variable 'str' is not initialised b) Format control for a string is not %s c) Parameter to scanf is passed by value. It should be an address d) none
Do you know null pointer?
Given only putchar (no sprintf, itoa, etc.) write a routine putlong that prints out an unsigned long in decimal. [ I gave the obvious solution of taking % 10 and / 10, which gives us the decimal value in reverse order. This requires an array since we need to print it out in the correct order. The interviewer wasn't too pleased and asked me to give a solution which didn't need the array ].
What are conditional operators in C?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays