#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output
Answer Posted / ankit garg
it will give an error bcoz here we do not give the header
file for string ( #include<string.h>) ... and we can not
use the string without it....
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is the use of a conditional inclusion statement in C?
Explain why C language is procedural?
Differentiate between new and malloc(), delete and free() ?
What is wrong with this code?
What is a macro in c preprocessor?
Write the syntax and purpose of a switch statement in C.
What is action and transformation in spark?
Explain how do you list files in a directory?
How do I copy files?
Tell me when would you use a pointer to a function?
What is difference between structure and union with example?
Why is structure important for a child?
What extern c means?
What is cohesion in c?
What are the three constants used in c?