int array[]={1,2,3,4,5,6,7,8};
#define SIZE (sizeof(array)/sizeof(int))
main()
{
if(-1<=SIZE) printf("1");
else printf("2");
}
Answer Posted / dnyaneshwar
1
| Is This Answer Correct ? | 3 Yes | 15 No |
Post New Answer View All Answers
What is volatile variable in c with example?
Explain can static variables be declared in a header file?
Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon
Explain what is wrong in this statement?
What is pointers in c with example?
What are the 4 types of functions?
What are the keywords in c?
Why is a semicolon (;) put at the end of every program statement?
What are void pointers in c?
What is ponter?
How do you define a string?
what is the basis for selection of arrays or pointers as data structure in a program
What are examples of structures?
What is the use of in c?
Why do we use return in c?