#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
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
What is a macro, and explain how do you use it?
how to write a c program to print list of fruits in alpabetical order?
Difference between strcpy() and memcpy() function?
What is the behavioral difference when include header file in double quotes (“”) and angular braces (<>)?
Explain the difference between malloc() and calloc() function?
What are the complete rules for header file searching?
Explain #pragma statements.
What is the size of enum in c?
What's the right way to use errno?
What is a sequential access file?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What do you mean by c what are the main characteristics of c language?
When is a null pointer used?
Hai,I have done with my bachelor of commerce and planing to ms,please suggest me how to convince vo for shifting from commerce to computers. Visa on 8 DEC 2014 Npu university