Question: 5 Which function is to get only a single character each time? A scanf(); B getchar(); C getch(); D gets(); Answer: 6 When we declare

5 Which function is to get only a single character each time? A scanf(); B getchar(); C getch(); D gets(); Answer: 6 When we declare a string "a bcd", which of the following is not correct? A char c = "abcd"; B char c [5] = { 'a', 'b', 'c', 'd', '\\' }; C char c[5] = "abcd"; D char c = {'a', 'b', 'c', 'd' };
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
