ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C
 
 


 

 
 C interview questions  C Interview Questions
 C++ interview questions  C++ Interview Questions
 VC++ interview questions  VC++ Interview Questions
 Delphi interview questions  Delphi Interview Questions
 Programming Languages AllOther interview questions  Programming Languages AllOther Interview Questions
Question
without using arithmatic operator solve which number is
greater??????????
 Question Submitted By :: Shashank Srivastava
I also faced this Question!!     Rank Answer Posted By  
 
  Re: without using arithmatic operator solve which number is greater??????????
Answer
# 1
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 ?    5 Yes 1 No
Niranjan Vg
 

 
 
 
Other C Interview Questions
 
  Question Asked @ Answers
 
main() { int a=0; if(a=0) printf("Ramco Systems\n"); printf("India\n"); } output? Ramco6
code snippet for creating a pyramids triangle ex 1 2 2 3 3 3  3
Write a programme to find even numbers without using any conditional statement? Infosys3
we have to use realloc only after malloc or calloc ? or we can use initially with out depending on whether we are using malloc or calloc in our program ?  1
what is the advantage of using SEMAPHORES to ORDINARY VARIABLES??? NSN1
how to find out the biggest element (or any other operation) in an array which is dynamic. User need not to mention the array size while executing.  2
WHAT IS THE DIFFERANCE BITWIN GETS();AND SCANF();  2
implement general tree using link list Wipro1
what is c? Tech-Mahindra5
what is the maximum no. of bytes calloc can allocate Mphasis2
will u give me old quesrion papers for aptitude for L & t info tech? L&T1
WAP to convert text into its ASCII Code and also write a function to decode the text given?  2
Difference Between embedded software and soft ware? Bosch1
Write a program to print all the prime numbers with in the given range ABC1
What is C language Terminator? TCS12
YBJBU6  1
C program to perform stack operation using singly linked list  1
f() { int a=2; f1(a++); } f1(int c) { printf("%d", c); } c=? Geometric-Software2
what is the difference between declaration and definition of a variable or function ?  2
which of the function operator cannot be over loaded a) <= b)?: c)== d)* HCL7
 
For more C Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com