#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 structures and unions? State differencves between them.
Write a program for Overriding.
How can I find the modification date of a file?
What is difference between scanf and gets?
What is the full form of getch?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?
How macro execution is faster than function ?
What is line in c preprocessor?
cavium networks written test pattern ..
How to declare a variable?
What are valid signatures for the Main function?
What is the purpose of & in scanf?
What is keyword in c?
Why malloc is faster than calloc?
When is a null pointer used?