#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 / janava
In this it generate an error because declaration the array
as char but read the variable as integer.
Is This Answer Correct ? | 7 Yes | 6 No |
Post New Answer View All Answers
What is New modifiers?
Do pointers store the address of value or the actual value of a variable?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
Define Spanning-Tree Protocol (STP)
shorting algorithmS
What is the difference between c &c++?
A program is required to print your biographic information including: Names, gender, student Number, Cell Number, line of study and your residential address.
How do you view the path?
what is the c source code for the below output? 10 10 10 10 10 10 10 10 10 10 9 9 7 6 6 6 6 6 6 9 7 5 9 7 3 2 2 5 9 7 3 1 5 9 7 3 5 9 7 4 4 4 4 5 9 7 8 8 8 8 8 8 8 8 9
find out largest elemant of diagonalmatrix
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
What is the translation phases used in c language?
What is wrong with this declaration?
Write a function that will take in a phone number and output all possible alphabetical combinations
What are the advantages of using linked list for tree construction?