Answer Posted / suman halder
#include<stdio.h>
int main()
{
char str[100];
scanf("%[^\n]s",str);
}
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is the newline escape sequence?
What is the difference between strcpy() and memcpy() function in c programming?
How can I implement sets or arrays of bits?
What type of function is main ()?
Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
Explain what are header files and explain what are its uses in c programming?
Which programming language is best for getting job 2020?
Explain what is wrong with this statement? Myname = ?robin?;
What are logical errors and how does it differ from syntax errors?
Is c is a middle level language?
Explain how do you declare an array that will hold more than 64kb of data?
What is the benefit of using an enum rather than a #define constant?
What is context in c?
How to get string length of given string in c?
Is it possible to initialize a variable at the time it was declared?