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 scope and lifetime of a variable in c?
Can i use “int” data type to store the value 32768? Why?
What is meant by type casting?
What is the purpose of sprintf?
to find the closest pair
What is identifier in c?
When should the const modifier be used?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What does *p++ do? What does it point to?
What are identifiers in c?
What is meant by type specifiers?
What is the use of putchar function?
What is the size of empty structure in c?
can we change the default calling convention in c if yes than how.........?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?