Answer Posted / valli
main()
{
char s[20],s2[20];
printf("enter the string");
scanf(" %[^\n]",s);
for(i=0;s[i];i++)
s[i]=s2[i];
s2[i]='\0';
printf("%s",s2);
}
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
What is fflush() function?
How can I find out the size of a file, prior to reading it in?
What does != Mean in c?
What does struct node * mean?
What is union and structure in c?
What is the use of volatile?
What are the different types of constants?
In a byte, what is the maximum decimal number that you can accommodate?
How to write a code for reverse of string without using string functions?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
Explain what is wrong with this program statement?
What is sizeof int in c?
What are the loops in c?
what is the differnce between programing langauge and tool? is sas is a programing langauge r tool?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?