#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


Please Help Members By Posting Answers For Below Questions

How do you convert strings to numbers in C?

705


How can you avoid including a header more than once?

560


What are near, far and huge pointers?

642


Can we access the array using a pointer in c language?

556


Describe explain how arrays can be passed to a user defined function

597






What is the difference between pure virtual function and virtual function?

643


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3118


What is scanf () in c?

656


Do you know pointer in c?

581


What is page thrashing?

649


#include { printf("Hello"); } how compile time affects when we add additional header file .

1419


What are logical errors and how does it differ from syntax errors?

654


Explain what are multibyte characters?

622


What does. int *x[](); means ?

631


What is #ifdef ? What is its application?

640