#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 the full form of getch?
write a program to find the given number is prime or not
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
What is scanf_s in c?
What are the general description for loop statement and available loop types in c?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
What is %lu in c?
What are the types of macro formats?
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
#include
What is a nested loop?
Write the control statements in C language
What was noalias and what ever happened to it?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?
What is the purpose of type declarations?