f=(x>y)?x:y
a) f points to max of x and y
b) f points to min of x and y
c)error

Answer Posted / guest

a) f points to max of x and y
if (x > y) is true.. x would be returned, else y.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What kind of structure is a house?

557


What are the disadvantages of a shell structure?

696


What is the difference between fread and fwrite function?

640


Write the Program to reverse a string using pointers.

618


What is the difference between memcpy and memmove?

605






Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

1662


Difference between pass by reference and pass by value?

659


write a program to display all prime numbers

1456


A variable that is defined in a specified portion of a program but can be used throughout the program a) global variable b) local variable c) character d) none

734


an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational

812


How to Throw some light on the splay trees?

621


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

914


In this assignment you are asked to write a multithreaded program to find the duplicates in an array of 10 million integers. The integers are between -5000,000 to 5000,000 and are generated randomly. Use 10 threads, each thread works on 1000,000 integers. Compare the time needed to accomplish the task with single thread of execution program. Do not include the time to fill the array with integers in the execution time.

2684


5 Write an Algorithm to find the maximum and minimum items in a set of ā€˜nā€™ element.

1583


Explain how do you list files in a directory?

618