Embedded Software Engineer Interview Questions

4,671 embedded software engineer interview questions shared by candidates

Write a C++ program to create a Date class that validates whether a given date is valid or invalid. The class should have private data members int day, int month, and int year. Declare the functions in the public section of the class to allow the user to input the date and validate it. The program should determine the validity of the date, considering leap years, and display the result accordingly.
avatar

Embedded Software Developer

Interviewed at Capgemini

4.2
Dec 17, 2024

Write a C++ program to create a Date class that validates whether a given date is valid or invalid. The class should have private data members int day, int month, and int year. Declare the functions in the public section of the class to allow the user to input the date and validate it. The program should determine the validity of the date, considering leap years, and display the result accordingly.

Viewing 3131 - 3140 interview questions

Glassdoor has 4,671 interview questions and reports from Embedded software engineer interviews. Prepare for your interview. Get hired. Love your job.