#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 the general form of function in c?
What is time null in c?
What is clrscr in c?
Explain what is the most efficient way to store flag values?
Write a program that accept anumber in words
main() { printf("hello"); fork(); }
Can we use any name in place of argv and argc as command line arguments?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
How many types of sorting are there in c?
If null and 0 are equivalent as null pointer constants, which should I use?
What are structures and unions? State differencves between them.
Can the size of an array be declared at runtime?
Where we use clrscr in c?
Why is c called c?