Badboy is defined who has ALL the following properties: Does not have a girlfriend and is not married. He is not more than 23 years old. The middle name should be "Singh" The last name should have more than 4 characters. The character 'a' should appear in the last name at least two times. The name of one of his brothers should be "Ram" Write a method: boolean isBadBoy(boolean hasGirlFriend , boolean isMarried, int age , String middleName , String lastName , String[] brotherName); isHaveGirlFriend is true if the person has a girlfriend isMarried is true if the person is married age is the age of the person middleName is the middle name of the person lastName is the last name of the person brotherName is the array of the names of his brothers
1844I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?
1 3799I completed my B.tech (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me.
2176how can i access hard disk address(physical address)? are we access hard disk by using far,near or huge pointer? if yes then please explain.....
1757can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
1819Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
1 4038Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
3 11935In 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.
3085Write a C program that defines a 2-dimentional integer array called A [50][50]. Then the elements of this array should randomly be initialized either to 1 or 0. The program should then print out all the elements in the diagonal (i.e. a[0][0], a[1][1],a[2][2], a[3][3], ……..a[49][49]). Finally, print out how many zeros and ones in the diagonal.
3 4851
What is actual argument?
What is %d used for?
FILE PROGRAMMING
What is the most efficient way to count the number of bits which are set in an integer?
What is declaration and definition in c?
What is a file descriptor in c?
What is .obj file in c?
Why do we use return in c?
How will you declare an array of three function pointers where each function receives two ints and returns a float?
printf(), scanf() these are a) library functions b) userdefined functions c) system functions d) they are not functions
What is extern c used for?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
Why flag is used in c?
code for quick sort?
Why is python slower than c?