#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
Tell me what are bitwise shift operators?
Write a program to implement a round robin scheduler and calculate the average waiting time.Arrival time, burst time, time quantum, and no. of processes should be the inputs.
Which are low level languages?
Describe the header file and its usage in c programming?
Explain the difference between call by value and call by reference in c language?
What is difference between scanf and gets?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What language is lisp written in?
Is main is user defined function?
What is a class c rental property?
in ‘C’ language for Matrix Multiplication fails” Introspect the causes for its failure and write down the possible reasons for its failure.
Explain what are the standard predefined macros?
What is function what are the types of function?
Define macros.
What is union in c?