Answer Posted / sameer.chaudhari
main()
{
int num;
printf("Plz enter the number :=> ");
scanf("%d",&num);
if (num & 1)
printf("odd");
else
printf("even");
getch();
}
| Is This Answer Correct ? | 22 Yes | 43 No |
Post New Answer View All Answers
Why static variable is used in c?
How can I delete a file?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
How do you construct an increment statement or decrement statement in C?
How can you allocate arrays or structures bigger than 64K?
What are the advantage of c language?
How is actual parameter different from the formal parameter?
What is the usage of the pointer in c?
Explain how can you restore a redirected standard stream?
Can a file other than a .h file be included with #include?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Can main () be called recursively?
How to set file pointer to beginning c?
Is c is a high level language?
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