#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


Please Help Members By Posting Answers For Below Questions

Explain what are linked list?

617


What are identifiers c?

560


Difference between strcpy() and memcpy() function?

673


What is graph in c?

583


Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?

648






Do you know the use of 'auto' keyword?

654


When should volatile modifier be used?

552


Find MAXIMUM of three distinct integers using a single C statement

622


How do I determine whether a character is numeric, alphabetic, and so on?

620


What is a structure in c language. how to initialise a structure in c?

604


What are the complete rules for header file searching?

666


What are the c keywords?

747


There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?

817


What does d mean?

581


What is the difference between formatted&unformatted i/o functions?

610