Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


#include<string.h>
void main()
{
String s1[]={"swathi"};
string s2[]={"maddimsetti"};
s1[]=s[];
printf("%s",s1[]);
}

Answers were Sorted based on User's Feedback



#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"madd..

Answer / vivek mathan

THE ANSWER IS "ERROR";

Is This Answer Correct ?    12 Yes 1 No

#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"madd..

Answer / senthil

compilation error.

the following statement is wrong
s1[]=s[];

cannot change the value of array pointer s1

Is This Answer Correct ?    2 Yes 0 No

#include<string.h> void main() { String s1[]={"swathi"}; string s2[]={"madd..

Answer / madhavi

%d

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

the expression a=30*1000+2768; evalutes to a) 32768 b) -32768 c) 113040 d) 0

1 Answers  


Meaning of () in c

1 Answers  


What will be the output of x++ + ++x?

20 Answers   MBT, Religare,


where do we use structure pointer?

1 Answers  


write a c program to calculate sum of digits till it reduces to a single digit using recursion

0 Answers   IBM,


Explain the use of #pragma exit?

0 Answers  


what r the cpu registers r ther?

1 Answers  


Where does the name "C" come from, anyway?

0 Answers   Celstream,


What do you mean by a sequential access file?

0 Answers  


Combinations of fibanocci prime series

0 Answers  


write c program without semicolon

11 Answers   MindTech, TCS, Wipro,


What are reserved words with a programming language?

0 Answers  


Categories