sir plz send me a set of questions that been frequently
held in written examination during campus selection.
No Answer is Posted For this Question
Be the First to Post Answer
What is Iteration Hierarchy? What is what is Object behavioral concept?
There are 2 empty jars of 5 and 3 liters capacity. And a river is flowing besides. I want to measure 4 liters of wanter using these 2 jars. How do you do this?
What is this interview room ? Is it a class or an object.
What are functions in oop?
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
i=20;k=0; for(j=1;k-i;k+=j<10?4:3) { cout<<k; } //please comment on the output
If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?
When you define a integer it gets stored in which data structure?(Stack or a heap)
What is polymorphism and its types?
What are benefits of oop?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
Why is encapsulation used?