#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
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is context in c?
How many types of operator or there in c?
What are the two forms of #include directive?
What is a double c?
What is difference between union All statement and Union?
What is the use of c language in real life?
What does 2n 4c mean?
What is array within structure?
Why does this code crash?
What is the best way to comment out a section of code that contains comments?
How will you find a duplicate number in a array without negating the nos ?
How can I open files mentioned on the command line, and parse option flags?
Explain what is meant by high-order and low-order bytes?
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }