#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
How can I sort a linked list?
Write a program to print ASCII code for a given digit.
What are the back slash character constants or escape sequence charactersavailable in c?
What is infinite loop?
How many bytes are occupied by near, far and huge pointers (dos)?
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result
What is difference between union All statement and Union?
What is strcmp in c?
How can a number be converted to a string?
What is strcpy() function?
How pointer is different from array?
What is wrong with this statement? Myname = 'robin';
can we change the default calling convention in c if yes than how.........?
Does c have enums?
What are the advantages of c preprocessor?