My issue
i cant solve it
My code
#include <stdio.h>
int main(void) {
char a[]="code";
char b[]="chef";
printf("the format specifier for a string is %s%s",a,b);// your code goes here
return 0;
}
Learning course: Learn C
Problem Link: CodeChef: Practical coding for everyone
In your code ,instead of printing this -
printf(“the format specifier for a string is %s%s”,a,b);
you have to print only strings like this -
printf(“%s%s”,a,b);
In this query you don’t have to print “the format specifier for a string is” it is note that if you want to print any string then use %s specifier, so use only printf(“%s%s”,a,b);