Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to receive strings with spaces in scanf()

Answer Posted / rushabh

scanf("[^\n]s",s);

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are two dimensional arrays alternatively called as?

1162


What is the use of a ‘’ character?

1062


What is putchar() function?

1136


Write programs for String Reversal & Palindrome check

1040


Write a program to print "hello world" without using a semicolon?

1048


Why do we use static in c?

1112


What is c method?

981


The file stdio.h, what does it contain?

1144


What does d mean?

1064


Explain the Difference between the New and Malloc keyword.

1118


How does normalization of huge pointer works?

1152


What is pointer in c?

1174


Is file a keyword in c?

921


What is page thrashing?

1063


how to construct a simulator keeping the logical boolean gates in c

2241