#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 restrict keyword in c?

646


What is an array? What the different types of arrays in c?

661


Is javascript written in c?

585


How can I discover how many arguments a function was actually called with?

636


Why main is used in c?

590






how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12

653


What is meant by high-order and low-order bytes?

657


How can you find the day of the week given the date?

618


What is an lvalue in c?

697


What is C language ?

1531


Why is structure padding done in c?

650


What is static and auto variables in c?

568


What does 2n 4c mean?

722


What is difference between static and global variable in c?

540


What is the benefit of using #define to declare a constant?

609