write a c program to print a given number as odd or even
without using loop statements,(no if ,while etc)

Answer Posted / jan

bogoon

Is This Answer Correct ?    5 Yes 15 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what could possibly be the problem if a valid function name such as tolower() is being reported by the c compiler as undefined?

575


List the difference between a "copy constructor" and a "assignment operator"?

578


what value is returned to operating system after program execution?

1599


Compare interpreters and compilers.

635


What is a char in c?

552






Explain enumerated types in c language?

602


What are c identifiers?

625


In which layer of the network datastructure format change is done

1428


Why are algorithms important in c program?

615


What is union and structure?

569


What is c value paradox explain?

570


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

755


find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

1855


What is gets() function?

667


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1577