#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 volatile c?
Difference between linking and loading?
What are local variables c?
How do I copy files?
What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }
given post order,in order construct the corresponding binary tree
Is stack a keyword in c?
Explain pointer. What are function pointers in C?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
Explain how can I prevent another program from modifying part of a file that I am modifying?
What is return type in c?
Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?
What are the key features in c programming language?
What is the best organizational structure?
Differentiate between declaring a variable and defining a variable?