#include<stdio.h>
main()
{
char s1[]="Ramco";
char s2[]="Systems";
s1=s2;
printf("%s",s1);
}
Find the output
Answer Posted / geo
Lvalue error.
if char *s1="Ramco";
char *s2="Systems";
s1=s2; is used
ans: Systems
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why do we use pointer to pointer in c?
Why does the call char scanf work?
What are structures and unions? State differencves between them.
largest Of three Number using without if condition?
What is wild pointer in c with example?
What are the 3 types of structures?
What is the process to create increment and decrement stamen in c?
How old is c programming language?
What is #include cctype?
What is the purpose of scanf() and printf() functions?
State two uses of pointers in C?
What is an auto keyword in c?
Explain what is the benefit of using enum to declare a constant?
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 a const pointer in c?