#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output
Answer Posted / vignesh1988i
it will be an error as for as i know... since s1 is not a
pointer variable... but however array are implict
pointers.... here we cant assign the base address to
another arry which is capable of holding oly values not
addressses...............
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Why header files are used?
Why c is faster than c++?
What is difference between scanf and gets?
why programs in c are running with out #include
What are dangling pointers in c?
What is structure in c definition?
Explain the difference between #include "..." And #include <...> In c?
What is the explanation for modular programming?
What is the use of c language in real life?
What are the types of operators in c?
What are near, far and huge pointers?
What header files do I need in order to define the standard library functions I use?
Why is c so important?
Explain what is the use of a semicolon (;) at the end of every program statement?
How do you redirect a standard stream?