#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
Explain what are linked list?
What are identifiers c?
Difference between strcpy() and memcpy() function?
What is graph in c?
Is it better to use a pointer to navigate an array of values, or is it better to use a subscripted array name?
Do you know the use of 'auto' keyword?
When should volatile modifier be used?
Find MAXIMUM of three distinct integers using a single C statement
How do I determine whether a character is numeric, alphabetic, and so on?
What is a structure in c language. how to initialise a structure in c?
What are the complete rules for header file searching?
What are the c keywords?
There is a practice in coding to keep some code blocks in comment symbols than delete it when debugging. How this affect when debugging?
What does d mean?
What is the difference between formatted&unformatted i/o functions?