Interview Question for Development Support Engineers






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

# include <stdio.h>
void main(){
   while(printf("hello world")>20){}
}

- Sathya February 02, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

You can even use "if" instead of "while" without >20 comparison.

- fiddler.g February 02, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

#define C(ch)		\
__asm mov  eax, ch		\
__asm push eax			\
__asm mov  eax, putchar		\
__asm call eax			\
__asm pop  ebx

void main()
{
	C('H')C('e')C('l')C('l')C('o')
	C(' ')
	C('W')C('o')C('r')C('l')C('d')
	C('\r')C('\n')
}

- fiddler.g February 02, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

interesting solutions.
but note that it is not limited to c/cpp. so print 'hello world' in python is also a valid solution.

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

or use javascript or another language that doesn't require semicolons :) or actually print 'hello world without semicolon' in any language.

- anon February 03, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

hahaha best answer

- Anonymous July 28, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

Which company was this?

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

if (((System.Action)(() => System.Console.WriteLine("hello,world"))).DynamicInvoke() == null) { }

- Ahmed February 03, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

#include<stdio.h>
int main(){
if(printf("Hello world\n"))
return 0;
}

- kevin February 03, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

hello ke saath word useless

- vinayak December 25, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

int main()
{
if(printf("hello world\n"))
{
}
}

- Buggy February 04, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

{
itne jyada useless

- vinayak December 25, 2011 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

print "hello world" in python

- weijiang2009 February 06, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

/**
* @author sansor
*
*/
public class PrintHelloWorld {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
if (System.out.printf("Hello World", null).toString().length() > 20){ }
}

}

- Sanjay Kumar (Inventwheel.com) February 07, 2011 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

hello bhi koi print karane ka h.

- vinayak December 25, 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