Computer Science, asked by sunilkachoor9111, 1 year ago

What is the correct format of reading word (string) in c?

Answers

Answered by rishirajsharma197
2

Reading Strings. Format conversion ”%s” can be used in scanf for reading strings not ... C string library provides gets(str) to read a string. It does not skip white ... strB = strA; //−−−WRONG−−− (assignment of incompatible types) ... word. 1. Initially read one word, define it both as the smallest and the largest

Similar questions