Which function is used to read a complete string at a time?
Answers
Answered by
1
Answer:
#include<stdio.h> int main() { char name[30]; printf("Enter name: "); gets(name); //Function to read string from user. printf("Name: "); puts(name); //Function to display string. return 0; }
I Hope It Will Help!
^_^
#include<stdio.h> int main() { char name[30]; printf("Enter name: "); gets(name); //Function to read string from user. printf("Name: "); puts(name); //Function to display string. return 0; }
I Hope It Will Help!
^_^
Answered by
0
c programming strings is used
Similar questions
History,
6 months ago
Business Studies,
6 months ago
Math,
1 year ago
Math,
1 year ago
Economy,
1 year ago