Interview Question for Software Engineer / Developers






Comment hidden because of low score. Click to expand.
0
of 0 vote

Nothing will output since it contains defa1ut instead of default

- Anonymous February 04, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

if default was corrected then the output would be NONE

- Rajesh Manem February 12, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Unless you declare: char a='1' or '2'. The output will be NONE.

- nanquant March 25, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Output will be NONE

- Anant October 08, 2010 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

is defau1t an error..???

- karthik August 31, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

if it is default then output will be "none"..even if u initialize a=1 before switch output will be "none"(default case) because in case statement u have declared like
case '1': where '1' is char constant but a's type is int..so always it will go to default case.

- shiva ch November 15, 2011 | Flag Reply


Add a Comment
Name:

Writing Code? Surround your code with {{{ and }}} to preserve whitespace.

Books

is a comprehensive book on getting a job at a top tech company, while focuses on dev interviews and does this for PMs.

Learn More

Videos

CareerCup's interview videos give you a real-life look at technical interviews. In these unscripted videos, watch how other candidates handle tough questions and how the interviewer thinks about their performance.

Learn More

Resume Review

Most engineers make critical mistakes on their resumes -- we can fix your resume with our custom resume review service. And, we use fellow engineers as our resume reviewers, so you can be sure that we "get" what you're saying.

Learn More

Mock Interviews

Our Mock Interviews will be conducted "in character" just like a real interview, and can focus on whatever topics you want. All our interviewers have worked for Microsoft, Google or Amazon, you know you'll get a true-to-life experience.

Learn More