#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
Differentiate call by value and call by reference?
What are terms in math?
Explain what is the difference between a free-standing and a hosted environment?
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
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
Describe explain how arrays can be passed to a user defined function
For what purpose null pointer used?
shorting algorithmS
Devise a program that inputs a 3 digit number n and finds out whether the number is prime or not. Find out its factors.
Should a function contain a return statement if it does not return a value?
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
How to declare a variable?
What are the 4 data types?
What is the purpose of & in scanf?
What are the header files used in c language?