Junior Embedded Software Engineer Interview Questions

6,953 junior 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 4611 - 4620 interview questions

Glassdoor has 6,953 interview questions and reports from Junior embedded software engineer interviews. Prepare for your interview. Get hired. Love your job.