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
How can I read data from data files with particular formats?
Write the Program to reverse a string using pointers.
What is binary tree in c?
What is void main () in c?
while loop contains parts a) initialisation, evalution of an expression,increment /decrement b) initialisation, increment/decrement c) condition evalution d) none of the above
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'); }
What is the meaning of c in c language?
How can I trap or ignore keyboard interrupts like control-c?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
How would you use the functions fseek(), freed(), fwrite() and ftell()?
What is the use of a conditional inclusion statement in C?
Can the “if” function be used in comparing strings?
Can you apply link and association interchangeably?
Tell me what is the purpose of 'register' keyword in c language?
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.