Informatica Interview Question for Software Engineer / Developers


Country: United States
Interview Type: In-Person




Comment hidden because of low score. Click to expand.
3
of 5 vote

while( something )
{ putchar('0'); putchar('1'); fflush(stdout); }

? Was it Google Research ?

- S O U N D W A V E October 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
2
of 6 vote

01010101010101......... This pattern can be printed like this :

do
 {
       printf("01");
 }while(1);

101010101010101010.... This Pattern can be printed like this

do
 {
       printf("10");
 } while(1);

- shravan40 October 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

main(){ 
printf("10");  //or printf("01");
main();
}

- Roshan Mangal October 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
2
of 2 votes

How long till stack blows up? :)
Yes, that (calling main recursively) should be valid in C (not C++) if I remember correctly.

- Sri October 01, 2013 | Flag
Comment hidden because of low score. Click to expand.
-1
of 3 vote

void fun1()
{
printf("0");
fun2();
}
void fun2()
{
print("1");
fun1();

}

- priyank October 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
-1
of 1 vote

//using xor operator(bitwise operator)
x=0;
while(1)
{
printf("%d",x);
x^=1;
}

- Amit October 02, 2013 | 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