#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output
Answer Posted / geo
Lvalue error.
if char *s1="Ramco";
char *s2="Systems";
s1=s2; is used
ans: Systems
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
write a c program to find the sum of five entered numbers using an array named number
Write a code to generate divisors of an integer?
How can you increase the size of a statically allocated array?
Write the test cases for checking a variable having value in range -10.0 to +10.0?
What are the advantages of using macro in c language?
How do I use void main?
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me
What is the difference between union and anonymous union?
What is identifiers in c with examples?
How do you view the path?
List a few unconditional control statement in c.
What are global variables?
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
What is the advantage of an array over individual variables?
what are the facialities provided by you after the selection of the student.