#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
What is restrict keyword in c?
What is an array? What the different types of arrays in c?
Is javascript written in c?
How can I discover how many arguments a function was actually called with?
Why main is used in c?
how many types of operators are include in c language a) 4 b) 6 c) 8 d) 12
What is meant by high-order and low-order bytes?
How can you find the day of the week given the date?
What is an lvalue in c?
What is C language ?
Why is structure padding done in c?
What is static and auto variables in c?
What does 2n 4c mean?
What is difference between static and global variable in c?
What is the benefit of using #define to declare a constant?