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 / jaisai

No...
Compile time error will occur says

"left operand must be l-value"

alternatively

char *a;
a="Hello Orcale Test";

will compile....

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general form of function in c?

1023


List some of the static data structures in C?

1205


What is function what are the types of function?

1007


What is declaration and definition in c?

1107


Why clrscr is used after variable declaration?

1703


pgm to find number of words starting with capital letters in a file(additional memory usage not allowed)(if a word starting with capital also next letter in word is capital cann't be counted twice)

2349


What are variables c?

1059


What are the 5 organizational structures?

1036


Which is better oop or procedural?

1083


What are the characteristics of arrays in c?

1056


Why do we use main function?

1187


Is using exit() the same as using return?

1374


In C language, a variable name cannot contain?

1283


What does emoji p mean?

1128


What are the advantages of c language?

1099