#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output
Answer Posted / mahadev shinde
ncompatible types in assignment of `s2' to `s1'
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How can you increase the size of a statically allocated array?
How can I open files mentioned on the command line, and parse option flags?
How can I get random integers in a certain range?
What are the complete rules for header file searching?
Why do we use namespace feature?
Can the sizeof operator be used to tell the size of an array passed to a function?
List at least 10 sorting methods indicating their average case complexity, worst case complexity and best case complexity.
what are the advanced features of functions a) function declaration and prototypes b) calling functions by value or by reference c) recursion d) all the above
Is main is a keyword in c?
Is it possible to have a function as a parameter in another function?
What is the significance of c program algorithms?
Is there any data type in c with variable size?
How many types of operators are there in c?
Why do we use main function?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?