#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 to check whether string is a palindrome, WITHOUT USING STRING FUNCTIONS?
Where are local variables stored in c?
How can I find the modification date of a file?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
Explain what is a const pointer?
What does the function toupper() do?
What is the use of linkage in c language?
If null and 0 are equivalent as null pointer constants, which should I use?
What is main () in c?
What is oops c?
Explain can you assign a different address to an array tag?
The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?
Differentiate between new and malloc(), delete and free() ?
When should volatile modifier be used?
What is the use of sizeof () in c?