#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 / guest
6
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is %d called in c?
Explain the use of 'auto' keyword in c programming?
Mention four important string handling functions in c languages .
What is the purpose of the statement: strcat (S2, S1)?
Explain what does it mean when a pointer is used in an if statement?
Write a progarm to find the length of string using switch case?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.
How are 16- and 32-bit numbers stored?
Explain what is the difference between a free-standing and a hosted environment?
code for quick sort?
What are enums in c?
What is include directive in c?
explain what is fifo?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What is the best way to store flag values in a program?