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

#include<std.h>
int main()
{
char *str[]={"Frogs","Do","Not","Die","They","Croak!"};
printf("%d %d\n",sizeof(str),strlen(str));
...return 0;
}
what will the output of the above program?

Answer Posted / naresh lingampally

will be a error since ..

syn: *x will be a pointer and it would always be a digit .
so no variable address can be a character ...

MAKES SENSE ?

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you please explain the difference between exit() and _exit() function?

1088


Where is c used?

1157


The difference between printf and fprintf is ?

1346


Describe the modifier in c?

1150


In C programming, what command or code can be used to determine if a number of odd or even?

1097


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

1196


Write a program to check prime number in c programming?

1150


What are global variables?

1269


What is structure in c explain with example?

1219


What is scope rule in c?

1125


Can a pointer point to null?

1122


a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode

1180


What are operators in c?

1078


What is pre-emptive data structure and explain it with example?

3791


How can type-insensitive macros be created?

1220