Question: I have a quick question regarding the printf, what does |%s| stands for as I understand %s tells printf that the corresponding argument is to

I have a quick question regarding the printf, what does |%s| standsI have a quick question regarding the printf, what does |%s| stands for as I understand %s tells printf that the corresponding argument is to be treated as a string. In short, what || refers to?

#include - int main() { // declare string char d[10]; as array of 10 char d[0]='S'; d[1]='i'; d[2]='1'; d[3]='i'; d[4]='c'; d[5]='0'; d[6]= 'n'; d[7]='\0'; //final char is NUL (0) which terminates the //string and d[8] and d[9] are not initialized printf("Our string is: l%s ",d); return 0; 1

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 Databases Questions!