#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

How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?

583


What is context in c?

535


How many types of operator or there in c?

596


What are the two forms of #include directive?

640


What is a double c?

584






What is difference between union All statement and Union?

628


What is the use of c language in real life?

525


What does 2n 4c mean?

707


What is array within structure?

578


Why does this code crash?

612


What is the best way to comment out a section of code that contains comments?

773


How will you find a duplicate number in a array without negating the nos ?

1637


How can I open files mentioned on the command line, and parse option flags?

585


Explain what is meant by high-order and low-order bytes?

629


void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }

1251