without using arithmatic operator solve which number is
greater??????????
Answer / niranjan vg
use relational operator
(a > b)
this is not a arithematic operator.
or you can use conditional operator
(a>b)?a:b;
| Is This Answer Correct ? | 25 Yes | 3 No |
a formula,a series of steps,or well defined set of rules for solving a problem a) algorithem b) program c) erdiagram d) compiler
What is the output from this program? #include <stdio.h> void do_something(int *thisp, int that) { int the_other; the_other = 5; that = 2 + the_other; *thisp = the_other * that; } int main(void) { int first, second; first = 1; second = 2; do_something(&second, first); printf("%4d%4d\n", first, second); return 0; }
how to find the sizof of any datatype using bit manipulations
Tell me is null always defined as 0(zero)?
What is the correct declaration of main?
What is the symbol indicated the c-preprocessor?
write a program to display all prime numbers
write a c program to check weather a particluar bit is set or not?
main() { static int ivar=5; printf("%d",ivar--); if(ivar) main(); }
Example of friendly function in c++
write a program to fined second smallest and largest element in a given series of elements (without sorting)
You have an array of n integers, randomly ordered with value 1 to n-1.The array is such that there is only one and one value occurred twice. How will you find this number?