Programming Languages Interview Questions
Questions Answers Views Company eMail

for (i <= 5 && i >= -1;++i; i > 0) { printf("%d ", i); }

1 1025

Declare the structure which contains the following members and write in C list of all students who score more than 75 marks. Roll No, Name, Father Name, Age, City, Marks.

616

Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

612

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.

679

Tell me about virtual function

1 523

Can we call C++ OOPS? and Why

259

Can we provide one default constructor for our class?

270

How to input string in C++

389

If class D is derived from a base class B

287

Define an Abstract class in C++?

493

How to reverse a string in C++

341

How to convert integer to string in C++

363

How to run C++ program in cmd

354

What is bool in C++

358

How to generate random numbers in C++ with a range?

393


Un-Answered Questions { Programming Languages }

What is a web content management system?

132


As you know ruby provides four types of variables. List them and provide a brief explanation for each?

1


Why do you use the namespace feature?

632


How are the features of c++ different from c?

574


Explain Type hinting in PHP?

549






Explain what are the advantages and disadvantages of a heap?

587


Name the functions which helps in importing data from other applications in R?

79


What is python enumerate?

429


Why we use int main and void main?

530


What are variables in research examples?

552


How do I stop a python script?

437


How do you establish a has-a relationship?

599


In php, how to redirect from one page to another page?

503


draw a flowchart that accepts two numbers and checks if the first is divisible by the second.

2841


Tell me how do I see all of the routes that are defined?

361