#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
Can a program have two main functions?
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
How do you list a file’s date and time?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
how to make a scientific calculater ?
What do you mean by keywords in c?
write a program to find the given number is prime or not
Explain the advantages of using macro in c language?
What are the disadvantages of external storage class?
What is strcpy() function?
Write a program to swap two numbers without using a temporary variable?
What is wrong with this code?
Where are c variables stored in memory?
Explain the difference between strcpy() and memcpy() function?
How can you find the exact size of a data type in c?