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 / sivasankar.a

the answer is c)9 because of "etrance"this word lengh is 9.

Is This Answer Correct ?    3 Yes 19 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is anything faster than c?

978


What is nested structure in c?

1039


What is c method?

969


Is void a keyword in c?

950


What is the purpose of the statement: strcat (S2, S1)?

1132


hw can we delete an internal node of binary search tree the internal node has child node..plz write progarm

1991


What is derived datatype in c?

1059


What is the best style for code layout in c?

1076


How to create struct variables?

1069


What does dm mean sexually?

1278


 write a program that will open the file, count the number of occurences of each word in the the complete works of shakespeare.  You will then tabulate this information in another file.

2178


How can you read a directory in a C program?

1113


What are 'near' and 'far' pointers?

1005


What is a pointer in c?

1480


Explain the advantages and disadvantages of macros.

1055