Answers for "c printf a few strings"

C
0

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)
Posted by: Guest on February-03-2021

Code answers related to "C"

Browse Popular Code Answers by Language