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

20 bytes of memory is allocated to s
hence
l=strlen(s);//l=20
so answer is a

Is This Answer Correct ?    2 Yes 14 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What should malloc(0) do?

1076


What are inbuilt functions in c?

1000


How to write c functions that modify head pointer of a linked list?

958


a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler

1046


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

1173


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

1201


The postoder traversal is 7,14,3,55,22,5,17 Then ur Inorder traversal is??? please help me on this

3529


Is a house a shell structure?

1127


Is register a keyword in c?

1011


Are the variables argc and argv are always local to main?

986


What is variable and explain rules to declare variable in c?

1039


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2615


What is a rvalue?

1156


How can you find the day of the week given the date?

1166


What is an endless loop?

1251