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

What is the general form of function in c?

978


What is time null in c?

1010


What is clrscr in c?

1078


Explain what is the most efficient way to store flag values?

1176


Write a program that accept anumber in words

1712


main() { printf("hello"); fork(); }

1149


Can we use any name in place of argv and argc as command line arguments?

1016


c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above

1207


process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,

2361


How many types of sorting are there in c?

1013


If null and 0 are equivalent as null pointer constants, which should I use?

1121


What are structures and unions? State differencves between them.

1103


Can the size of an array be declared at runtime?

1029


Where we use clrscr in c?

1094


Why is c called c?

959