#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


Please Help Members By Posting Answers For Below Questions

Differentiate call by value and call by reference?

753


What are terms in math?

799


Explain what is the difference between a free-standing and a hosted environment?

908


what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9

1628


typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none

975


Describe explain how arrays can be passed to a user defined function

851


For what purpose null pointer used?

811


shorting algorithmS

2023


Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.

912


Should a function contain a return statement if it does not return a value?

822


count = 0; for (i = 1;i < = 10; i++);count = count + i; Value of count after execution of the above statements will be a) 0 b) 11 c) 55 d) array

886


How to declare a variable?

773


What are the 4 data types?

779


What is the purpose of & in scanf?

846


What are the header files used in c language?

792