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 are static variables in c?
write a program to concatenation the string using switch case?
How important is structure in life?
Compare and contrast compilers from interpreters.
Can one function call another?
What is || operator and how does it function in a program?
What is the best style for code layout in c?
What is #line?
Explain how can you determine the size of an allocated portion of memory?
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
What is the meaning of typedef struct in c?
Is c a great language, or what?
How do you override a defined macro?
What is the maximum length of an identifier?
Why c is a mother language?