#include<string.h>
void main()
{
String s1[]={"swathi"};
string s2[]={"maddimsetti"};
s1[]=s[];
printf("%s",s1[]);
}
Answer Posted / senthil
compilation error.
the following statement is wrong
s1[]=s[];
cannot change the value of array pointer s1
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
Explain how do you list a file’s date and time?
Why is c still so popular?
What is assignment operator?
Explain what happens if you free a pointer twice?
What is the g value paradox?
Can you explain what keyboard debouncing is, and where and why we us it? please give some examples
What does the file stdio.h contain?
What are the advantages of c preprocessor?
Explain with the aid of an example why arrays of structures don’t provide an efficient representation when it comes to adding and deleting records internal to the array.
which is an algorithm for sorting in a growing Lexicographic order
Explain the use of #pragma exit?
What is methods in c?
What is a method in c?
Why can’t we compare structures?
What are variables and it what way is it different from constants?