📚String
Example: String Declaration and Printing
#include <stdio.h>
int main() {
char str[] = "Hello, World!";
printf("%s\n", str);
return 0;
}Last updated
Was this helpful?
#include <stdio.h>
int main() {
char str[] = "Hello, World!";
printf("%s\n", str);
return 0;
}Last updated
Was this helpful?