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

What is the purpose of & in scanf?

0 Answers  


main() { int arr[5]={23,67}; printf("%d%d%d",arr[2],arr[3],arr[4]); }

9 Answers   TCS,


What are the different types of storage classes in C?

3 Answers  


Differentiate Source Codes from Object Codes

1 Answers  


Is it possible to use curly brackets ({}) to enclose single line code in c program?

0 Answers  


Explain how can you check to see whether a symbol is defined?

0 Answers  


Explain the difference between call by value and call by reference in c language?

0 Answers  


what is mean by Garbage collection ? Please answer me. Advance thanks.

4 Answers   Excel,


How can I access an I o board directly?

0 Answers  


what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }

9 Answers   HCL,


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

0 Answers  


write a program to delete an item from a particular location of an linear array?

1 Answers  


Categories