#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
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
How can my program discover the complete pathname to the executable from which it was invoked?
Why c language?
What are types of functions?
Can a pointer be static?
How to write a code for reverse of string without using string functions?
main use of recursive function a) processing speed high b) reduce program length/reduce repeated statements c) if you do not, use iterative methods like, for, while or do-while d) all the above
What is meant by recursion?
What are the salient features of c languages?
Describe explain how arrays can be passed to a user defined function
Why n++ execute faster than n+1 ?
differentiate built-in functions and user – defined functions.
What are keywords in c with examples?
Are there constructors in c?