#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


Please Help Members By Posting Answers For Below Questions

What is wrong in this statement? scanf(“%d”,whatnumber);

997


What is the sizeof () a pointer?

752


the question is that what you have been doing all these periods (one year gap)

1869


What does emoji p mean?

804


hi, which software companys will take,if d candidate's % is jst 55%?

1877


Write a program to print factorial of given number using recursion?

804


Write the syntax and purpose of a switch statement in C.

866


What is boolean in c?

832


How many keywords (reserve words) are in c?

826


What library is sizeof in c?

830


What is a function in c?

1207


What are the types of data types and explain?

876


Is a house a shell structure?

916


how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.

1459


What is typedf?

891