Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

how to find the largest element of array without using relational operater?

Answer Posted / mpasinski

Regarding Answer2 - what if int in your machine is 32 bit
instead of 16. The code is not universal.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I read data from data files with particular formats?

1090


Write the Program to reverse a string using pointers.

1069


What is binary tree in c?

1134


What is void main () in c?

1248


while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above

1296


What are the output(s) for the following ? #include char *f() {char *s=malloc(8); strcpy(s,"goodbye")} main() { char *f(); printf("%c",*f()='A'); }

1222


What is the meaning of c in c language?

1242


How can I trap or ignore keyboard interrupts like control-c?

1114


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2621


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1202


What is the use of a conditional inclusion statement in C?

1106


Can the “if” function be used in comparing strings?

1105


Can you apply link and association interchangeably?

1175


Tell me what is the purpose of 'register' keyword in c language?

1035


Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

4253