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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!