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
Is void a keyword in c?
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
Explain how are portions of a program disabled in demo versions?
What is sizeof array?
What is #define used for in c?
Who is the founder of c language?
What is non linear data structure in c?
In the DOS enveronment, normal RAM that resides beyond the 1mb mark. a) expanded memory b) swapped memory c) Extended memory d) none
Can two or more operators such as and be combined in a single line of program code?
What is a structure in c language. how to initialise a structure in c?
Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58
What is a global variable in c?
What are different types of variables in c?
Explain what are the advantages and disadvantages of a heap?
can anyone please tell about the nested interrupts?