 Hello friends, I am Sanjay Gupta. In this video, I am going to demonstrate you the use of S printer function which is available in C. Before starting, you can subscribe my YouTube channel by clicking on the link which is available at bottom right corner of this video. You can download my app Takimas that is available on Google Play. You can connect with me by following these details which are available in front of you. So in this video, I am going to demonstrate you the use of S printer function which is available in C. I am including a header file that is stdio.h. Then I am defining main function. Inside main function, I am declaring a character array. Now you might have used printf. So this is the syntax of printf. This way you use printf which will display this output equals to on console and this percent s will be replaced by this hello. Now, if you want that your output will not be displayed on console and it will be assigned into a string, then you can use S printer function by modifying printer statement like this. So this time I have called a function as printf and I have mentioned first argument as S1 and rest of the arguments are similar to printf statement. So in this case, this output equals to and the value hello will be replaced through this percent s. This complete output will be assigned into S1. So now if you want to check what is assigned into S1, you can use put a statement which will display the output on console that is available inside S1. This is complete code. Now I am going to execute this code. You can see the result output equals to hello is displayed on console and this content is available inside S1 using S printf statement. So S printf is assigning this whole string into S1 and this percent s is replaced by this hello. You can also use character array in place of hello like this. I have assigned my name into S2. Now in place of hello, I am using S2. So this time output equals to Sanjay will be assigned into S1. You can check it. You can see output equals to Sanjay is displayed here. Now if you want to receive input from user, you can use this printf and get us. So this time S2 will receive input from user that S2 is used here in S printf. So output equals to and the content which will be entered by the user will be assigned into S1. So now I am going to execute this code. I am entering name of my app that is tech image. You can see the output output equals to tech image is displayed here. So I hope you have understood the use of S printf. Now printf displays the content on console whereas S printf stores the contents that is generated into a string. So here these contents which is generated will be assigned into this S1 string. So S printf contains three arguments whereas printf contains only two arguments. So friends, if you want to learn the use of S scanner function that is also demonstrated by me in my another video. You can see how you can use S scanner function also. And if you want to watch more programming related videos, you can subscribe my YouTube channel. Thank you for watching this video.