Embedded Software Engineer Staff Interview Questions

4,671 embedded software engineer staff 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 3121 - 3130 interview questions

See Interview Questions for Similar Jobs

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