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

In this it generate an error because declaration the array
as char but read the variable as integer.

Is This Answer Correct ?    7 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is c basic?

1177


In c programming, explain how do you insert quote characters (? And ?) Into the output screen?

1245


What is the difference between array and pointer in c?

1162


How can I automatically locate a programs configuration files in the same directory as the executable?

1169


What are the loops in c?

997


How can I generate floating-point random numbers?

1132


What is the auto keyword good for?

1155


What is pragma c?

1122


What are bitwise shift operators in c programming?

1084


What are different types of variables in c?

1075


What is the sizeof () operator?

1086


What is selection sort in c?

1102


How are Structure passing and returning implemented by the complier?

1170


What is the difference between memcpy and memmove?

1027


Why doesnt this code work?

1064