printing out 2 strings in c
// Use of Getstring
#include<stdio.h>
int main(){
char name[100];
int age;
printf("Enter your namen");
gets(name);
printf("your name is %s", name);
}
//In the terminal your name is (name input)
printing out 2 strings in c
// Use of Getstring
#include<stdio.h>
int main(){
char name[100];
int age;
printf("Enter your namen");
gets(name);
printf("your name is %s", name);
}
//In the terminal your name is (name input)
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