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
What is main () in c?
What is the use of sizeof () in c?
Why header files are used?
What is the purpose of the following code? Is there any problem with the code? void send(int count, short *to, short *from) { /* count > 0 assumed */ register n = (count + 7) / 8; switch (count % 8) { case 0: do { *to = *from++; case 7: *to = *from++; case 6: *to = *from++; case 5: *to = *from++; case 4: *to = *from++; case 3: *to = *from++; case 2: *to = *from++; case 1: *to = *from++; } while (--n > 0); } }
Explain the bubble sort algorithm.
What are global variables and how do you declare them?
How do you determine the length of a string value that was stored in a variable?
What do header files do?
What are structures and unions? State differencves between them.
What is const volatile variable in c?
Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me
write a program that declares an array of 30 elements named "income" in the main functions. then cal and pass the array to a programmer-defined function named "getIncome" within the "getIncome" function, ask the user for annual income of 30 employees. then calculate and print total income on the screen using the following function: "void getIncome ( ai []);
Give the rules for variable declaration?
What is C language ?
Why is c used in embedded systems?