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 / 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

What are directives in c?

949


.find the output of the following program? char*myfunc(char*ptr) { ptr +=3; return (ptr); } int main() { char*x,*y; x="HELLO"; y=myfunc(x); printf("y = %s ",y); return 0; }

2566


What is the purpose of 'register' keyword in c language?

1007


How do you determine whether to use a stream function or a low-level function?

1110


What is extern variable in c with example?

980


What is a structure and why it is used?

1196


What are the types of operators in c?

1048


What is derived datatype in c?

1071


A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.

1700


How can I find out the size of a file, prior to reading it in?

1156


What are enums in c?

1181


Is c pass by value or reference?

1027


write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);

2339


What is the purpose of type declarations?

1104


What was noalias and what ever happened to it?

1026