Cisco Systems Interview Question for Software Engineer / Developers


Country: United States
Interview Type: Written Test




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

The are called as "Quine". You can search on Google/wikipedia for Quine computing.

- Aditya November 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
1
of 1 vote

If this is a serious interview question, then I'll think twice before joining this company. This sort of questions really have no values

- Riyad Parvez December 25, 2012 | Flag
Comment hidden because of low score. Click to expand.
3
of 3 vote

#include<stdio.h>
 



int main(){
 
    FILE *fp;
 
    char c;
 



    fp = fopen(__FILE__,"r");
 
  

    do{
 
         c= getc(fp);
 
         putchar(c);
 
    }
 
    while(c!=EOF);
 



    fclose(fp);
 
    

    return 0;
 
}

- Varun Yadav January 08, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

perfect

- Navin April 04, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 votes

The Question was to print the function, not the complete file

- Narain May 14, 2013 | Flag
Comment hidden because of low score. Click to expand.
0
of 2 vote

public Object func(){
	return func();
}

- Andi November 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

I think that ll run in an infinite loop

- enthusiast November 20, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

If the question is to print only the function name, we can make use of macro __FUNCTION__ in C.

void func()
{
  printf("%s",__FUNCTION__);
}

- ksprasad November 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 votes

what is intention on this,
in QUINE technique, they are using string / char array
same as code , and attempting to print the string contents.

other than this, is any macros, or pre-processor directieves usage is expected. ?

- Anonymous November 20, 2012 | Flag
Comment hidden because of low score. Click to expand.
0
of 0 vote

what is intention on this,
in QUINE technique, they are using string / char array
same as code , and attempting to print the string contents.

other than this, is any macros, or pre-processor directieves usage is expected. ?

- vijay.sadum November 20, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Use C language's file operations. Open the same file and read the same function using file read operation.

- Anonymous November 21, 2012 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

What is recent Base Salary (excluding employer PF and bonus) at Cisco India for Software Engg IV or Grade 10?

Has anyone got offer from Cisco India for grade 10 recently, Pls share offer details?

- Cisco Offer Details? March 01, 2013 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

Cisco gives hike once in 2-3 years.

New-Joinees only get hike after 2-3 years, so take 100% hike at the time of joining .. . otherwise don't cry after joining. :)

- Simple April 25, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.
0
of 0 vote

void func() { char q=34,*a="void func() { char q=34,*a=%c%s%c; printf(a,q,a,q); }";printf(a,q,a,q); }

- Karthik November 20, 2014 | Flag Reply
Comment hidden because of low score. Click to expand.


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