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

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

Answer Posted / subbu

l=7 is the right answer, which is not given in the options.

Is This Answer Correct ?    10 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which control loop is recommended if you have to execute set of statements for fixed number of times?

1333


Write a program to check whether a number is prime or not using c?

1039


Does c have circular shift operators?

1216


How to get string length of given string in c?

1049


What is dynamic variable in c?

1014


By using C language input a date into it and if it is right?

1061


What is sizeof in c?

992


Explain the difference between structs and unions in c?

998


What extern c means?

987


Write a program which returns the first non repetitive character in the string?

1103


Explain what is the difference between a free-standing and a hosted environment?

1171


Why dont c comments nest?

1033


What is c value paradox explain?

1074


Why do we use static in c?

1112


what is the role you expect in software industry?

2134