C program to accept a string from users and print it






C program to print a text

#include<stdio.h>
int main(){
    char str[20];
    scanf("%s",&str);
    printf("%s",str);
    return 0;
} 




Post a Comment