Answer Posted / public
52
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
What is the use of getchar() function?
Explain how do you determine a file’s attributes?
What is typedef?
What is the size of a union variable?
The difference between printf and fprintf is ?
What are disadvantages of C language.
what is the role you expect in software industry?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
exit () is used to a) exit () terminates the execution of the program itself b) exit () terminates the execution of the loop c) exit () terminates the execution of the block d) none of the above
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.
Can we declare variables anywhere in c?
How can I recover the file name given an open stream?
Explain goto?
What are the 5 types of organizational structures?
What is pragma in c?