why do some people write if(0 == x) instead of if(x == 0)?
No Answer is Posted For this Question
Be the First to Post Answer
main() { int i=0; while(+(+i--)!=0) i-=i++; printf("%d",i); }
c program to compute Income tax and Net Salary for its employees. The company offers tax relief of Kshs. 650 for single employees and Kshs. 1,100 for married employees. The relief will be deducted from the Gross salary, to give the taxable income. This will be computed at the following rates: [10mks] Taxable Income Rate (%) <5000 0 5000-19999 6 20000-36999 9 37000 and above 16
why do some people write if(0 == x) instead of if(x == 0)?
Why c is called object oriented language?
console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above
Write a program to check whether a number is prime or not using c?
Program to find the sum of digits of a given number until the sum becomes a single digit. (e.g. 12345=>1+2+3+4+5=15=>1+5=6)
Find occurence of a character in a sting.
What math functions are available for integers? For floating point?
Does c have class?
. Consider the following program main() { int a[5]={1,3,6,7,0}; int *b; b=&a[2]; } The value of b[-1] is (A) 1 (B) 3 (C) -6 (D) none
. Write a program to get a string and to convert the 1st letter of it to uppercase