#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 does c mean?
what is uses of .net
What is a void * in c?
Compare interpreters and compilers.
What is the main difference between calloc () and malloc ()?
How can you increase the size of a dynamically allocated array?
What do mean by network ?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.
What is the most efficient way to store flag values?
How can you pass an array to a function by value?
How to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
in linking some of os executables are linking name some of them
What is the difference between exit() and _exit() function in c?
Why static variable is used in c?