How to receive strings with spaces in scanf()

Answer Posted / karthik

using the function
gets(variable)

Is This Answer Correct ?    2 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I remove the leading spaces from a string?

638


Why does the call char scanf work?

622


Why we use conio h in c?

591


Write a program to generate random numbers in c?

667


What is dynamic dispatch in c++?

563






program for reversing a selected line word by word when multiple lines are given without using strrev

1951


What is the correct code to have following output in c using nested for loop?

616


What is a nested loop?

653


Write a program of advanced Fibonacci series.

712


What is c system32 taskhostw exe?

598


What is #define used for in c?

618


What does node * mean?

716


How to create struct variables?

597


What is the method to save data in stack data structure type?

612


Explain the priority queues?

629