#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
Tell us bitwise shift operators?
Explain what are the different data types in c?
How does free() know explain how much memory to release?
What are the different types of control structures in programming?
What is difference between && and & in c?
Explain the properties of union.
What is header file definition?
How can I find out how much free space is available on disk?
What are dangling pointers? How are dangling pointers different from memory leaks?
What is the purpose of realloc()?
What does do in c?
Explain what is the difference between #include and #include 'file' ?
what is a function method?give example?
What is the general form of a C program?
What is #include conio h?