print string in c
// C program to illustrate strings
#include<stdio.h>
int main()
{
// declare and initialize string
char str[] = "Geeks";
// print string
printf("%s",str);
return 0;
}
print string in c
// C program to illustrate strings
#include<stdio.h>
int main()
{
// declare and initialize string
char str[] = "Geeks";
// print string
printf("%s",str);
return 0;
}
print a part of string c
int length = 5;
printf("%*.*s", length, length, "hello there");
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us