#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
Can you please explain the difference between exit() and _exit() function?
Where is c used?
The difference between printf and fprintf is ?
Describe the modifier in c?
In C programming, what command or code can be used to determine if a number of odd or even?
why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above
Write a program to check prime number in c programming?
What are global variables?
What is structure in c explain with example?
What is scope rule in c?
Can a pointer point to null?
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
What are operators in c?
What is pre-emptive data structure and explain it with example?
How can type-insensitive macros be created?