gets and puts

 #include <stdio.h>


int main() {

    // Write C code here

    char str[34];

    printf(" Enter your name : ");

    gets(str);

    puts(str);//printf("%s",str);

    

   

    

}

Comments

Popular posts from this blog

Sum of Even Numbers till N

Find the Runner-Up Score!

Print All Substrings