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

Is c high or low level?

1003


What is a program flowchart and how does it help in writing a program?

1134


What is bss in c?

1091


What is zero based addressing?

1160


What is a structure in c language. how to initialise a structure in c?

1060


What are pointers? What are stacks and queues?

1140


How to explain the final year project as a fresher please answer with sample project

975


What is an lvalue?

1061


What is pointer to pointer in c with example?

1058


how many key words availabel in c a) 28 b) 31 c) 32

1074


Explain void pointer?

1036


Explain how can I make sure that my program is the only one accessing a file?

1215


Is exit(status) truly equivalent to returning the same status from main?

1064


How does struct work in c?

1077


Define Spanning-Tree Protocol (STP)

1120