#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}

what will happen if you executed this code?

Answer Posted / ramesh

u will get error like incompatible types in assignment

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain 'far' and 'near' pointers in c.

680


What are multibyte characters?

617


What is the purpose of main() function?

627


Is register a keyword in c?

604


What is masking?

613






What language is c written?

556


a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if

679


What are the complete rules for header file searching?

637


will u please send me the placement papers to my mail???????????????????

1333


why use functions a) writing functions avoids rewriting the same code over and over b) using functions it becomes easier to write programs and keep track of what they are doing c) a & b d) none of the above

630


Explain indirection?

615


What's a good way to check for "close enough" floating-point equality?

601


Write a C program to count the number of email on text

1389


How can a program be made to print the name of a source file where an error occurs?

700


What is a built-in function in C?

754