Lecture 17 Strings Department of Computer Engineering 1 Sharif University of Technology
Input and Output – Lecture 4 Introduction Until now We have seen strings in printf Our old definition: string is a set of char between “” printf("This is a stringn"); printf("This is %sn", "a stringn"); Strings: An array of chars Terminated by the null char '