#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 / s.ramakrishna
thw output becomes 6 6
why because the character pointer stores their values and
that will be printed
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
what is stack , heap ,code segment,and data segment
Why do we use return in c?
Combinations of fibanocci prime series
An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above
What is a structure member in c?
How can I direct output to the printer?
write a program to display all prime numbers
What is strcmp in c?
What is the difference between text and binary modes?
Why static is used in c?
All technical questions
What is a structure and why it is used?
What are the complete rules for header file searching?
What are called c variables?
What are different types of variables in c?