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...

Go through the following code sinippet
char a[20];
a="Hello Orcale Test";
will this compile?

Answer Posted / vikraman.j

Compile time err wil occur;
We can use *a="Hello Orcale Test" or a[20]="Hello Orcale
Test";
It will lead the prg nice.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a stream water?

1278


Explain what will be the outcome of the following conditional statement if the value of variable s is 10?

1323


What is && in c programming?

1221


What is the return type of sizeof?

1112


Is that possible to store 32768 in an int data type variable?

1131


How can I write a function analogous to scanf?

1225


what will be the output for the following main() { printf("hi" "hello"); }

11156


What is the difference between union and anonymous union?

1371


What are pointers? What are stacks and queues?

1215


Why void is used in c?

1057


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1188


Why is c not oop?

1037


program to convert a integer to string in c language'

2506


Explain which function in c can be used to append a string to another string?

1136


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1368