#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 / guest
error wud pop up because u cannot assign arrats or strings
to one another
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What are multibyte characters?
Can we initialize extern variable in c?
Why is it important to memset a variable, immediately after allocating memory to it ?
What is floating point constants?
Explain the red-black trees?
how to write a c program to print list of fruits in alpabetical order?
What is meant by high-order and low-order bytes?
What is the significance of scope resolution operator?
What is string function c?
A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers
What is variable initialization and why is it important?
When would you use a pointer to a function?
What are unions in c?
Write a program to generate the Fibinocci Series
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler