#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
What is a program?
What is volatile, register definition in C
What does %p mean?
What is difference between scanf and gets?
What is the difference between pure virtual function and virtual function?
Difference between macros and inline functions? Can a function be forced as inline?
what is reason of your company position's in india no. 1.
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
Explain the use of fflush() function?
Which built-in library function can be used to match a patter from the string?
develop algorithms to add polynomials (i) in one variable
What is the significance of an algorithm to C programming?
How to set file pointer to beginning c?
What are the benefits of organizational structure?
What is 1f in c?