Write a program to find the given number is odd or even
without using any loops(if,for,do,while)
Answer Posted / shiv kumar
(num/2==0)? printf("even"):printf("odd");
Is This Answer Correct ? | 20 Yes | 7 No |
Post New Answer View All Answers
How many types of errors are there in c language? Explain
Explain main function in c?
Is r written in c?
What is your stream meaning?
Explain what will the preprocessor do for a program?
What is the difference between malloc() and calloc() function in c language?
What is the concatenation operator?
What are global variables?
What happens if a header file is included twice?
What are the two types of structure?
Explain what is the difference between null and nul?
Write a program to print all permutations of a given string.
how can i write a program that prints out a box such that whenever i press any key8(coordinate number) on the keyboard, the box moves.
What are pointers?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.