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 the differnce between programing langauge and tool? is sas is a programing langauge r tool?
c program to compute AREA under integral
What is the right way to use errno?
What is chain pointer in c?
Is it possible to initialize a variable at the time it was declared?
Is main a keyword in c?
What is the difference between array and linked list in c?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
my project name is adulteration of chille powder.how can i explain it to the hr when he asks me about the project?
What is "Duff's Device"?
What is the data segment that is followed by c?
why do some people write if(0 == x) instead of if(x == 0)?
I have a varargs function which accepts a float parameter?
What is an operator?
Explain output of printf("Hello World"-'A'+'B'); ?