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

Does c have class?

1048


What is a 'null pointer assignment' error?

1159


What is the use of pointers in C?

1020


What is modifier & how many types of modifiers available in c?

981


which is an algorithm for sorting in a growing Lexicographic order

1742


Write a simple code fragment that will check if a number is positive or negative.

1094


Please send me WIPRO technical question to my mail ID.. its nisha_g28@yahoo.com please its urgent

2073


What is a nested loop?

1067


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1945


What is the size of a union variable?

993


What is a good data structure to use for storing lines of text?

1031


Explain high-order bytes.

1058


Explain what is the heap?

1007


Can you write a programmer for FACTORIAL using recursion?

981


Difference between constant pointer and pointer to a constant.

1063