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
1937I 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 3932I 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.
2307how 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.....
1838can 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......
1968Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
1 4218Efficient data structure for store/search list of 1000 records a)array b)double linked list c)circular queue d)hash table
3 12166In 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.
3165Write 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 5136
What is malloc calloc and realloc in c?
How can I dynamically allocate arrays?
Can a pointer be null?
How can I pad a string to a known length?
hi... can anyone help me to make a two-dimensinal arrays in finding the sum of two elements plzzz. thnx a lot...
Why doesnt the call scanf work?
provide an example of the Group by clause, when would you use this clause
What are the scope of static variables?
In a switch statement, what will happen if a break statement is omitted?
How to find a missed value, if you want to store 100 values in a 99 sized array?
how we can make 3d venturing graphics on outer interface
Which node is more powerful and can handle local information processing or graphics processing?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
Why is it usually a bad idea to use gets()? Suggest a workaround.
What are keywords c?