#include<string.h>
void main()
{
String s1[]={"swathi"};
string s2[]={"maddimsetti"};
s1[]=s[];
printf("%s",s1[]);
}
Answers were Sorted based on User's Feedback
Explain how can I remove the trailing spaces from a string?
What is the function of multilevel pointer in c?
What is the use of bit field?
How can I read data from data files with particular formats?
What is action and transformation in spark?
a memory of 20 bytes is allocated to a string declared as char *s then the following two statements are executed: s="Etrance" l=strlen(s); what is the value of l ? a.20 b.8 c.9 d.21
What is an identifier?
what is the program to display your name in any color?
Derive the complexity expression for AVL tree?
how to print 2-D array using a single for loop?
2 Answers Mind Tree, TCS, Value Labs,
which one is not preprocessor directive a)#if b)#elif c)#undef d)#pragma
16 Answers Accenture, Infosys, TCS, Wipro,
Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?