#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
hello freinds next week my interview in reliance,nybody has an idea about it intervew questions..so tell
How arrays can be passed to a user defined function
What is use of bit field?
code for quick sort?
application attempts to perform an operation?
Compare interpreters and compilers.
if (i = 0)printf ("True"); elseprintf("False"); Under what conditions will the above print out the string "True" a) Never b) Always c) When the value of i is 0 d) all of the above
How we can insert comments in a c program?
What is malloc() function?
What are structures and unions? State differencves between them.
What is the use of a semicolon (;) at the end of every program statement?
How can you invoke another program from within a C program?
Write a Program to find whether the given number or string is palindrome.
Explain how are 16- and 32-bit numbers stored?
How can I split up a string into whitespace-separated fields?