Programming Languages Interview Questions
Questions Answers Views Company eMail

find the output? void r(int a[],int c, int n) { if(c>n) { a[c]=a[c]+c; r(a,++c,n); r(a,++c,n); } } int main() { int i,a[5]={0}; r(a,0,5); for(i=0;i<5;i++) printf("\n %d",a[i]); getch(); }

Microsoft,

1860

Can you explain what keyboard debouncing is, and where and why we us it? please give some examples

CSC, Wipro,

1663

Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?

1548

Do not use more than 3 nested IF. Use Evaluate statement in case of more IF required. Please give a detail explantion besides readability and clarity for Evaluate stmt.

1487

write a statement to display all the elements array M(in reverse order? int M[8]={20,21,22,23,24,25,26,27};

5 4595

how to use virual function in real time example

CTS, Wipro,

1 3736

In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1382

class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding;

Manhattan,

4 5276

Q2. A memory location has physical address D5687h. Compute: a. The offset address if the segment number is D445h. b. The segment number if the offset address is B577h.

1633

#includeint(){int a,*b,**c,***d,****e; a=10;b=&a;c=&b;d=&c;e=&c;printf("a=%d b=%u c=%u d=% e=%u",a,b,c,d,e);printf ("%d%d%d\n",a,a+?*b,**c+***d+,****e);return0;}

1 3743

Give the Output : * * * * * * * * * *

2 3135

why wipro wase

Wipro,

1832

WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++

Syntel,

1 5180

how to fin top two miximum values in sql? not 2nd both max value of 1st and 2nd both have to find out

1494

Define Form modules, Class modules and Standard modules

Global Hunt,

1480


Un-Answered Questions { Programming Languages }

How to Get printer capabilities?

2502


List some applications of c programming language?

553


Explain different ways to trigger / raise exceptions in your python script ?

218


How to Retrieve the Session ID of the Current Session?

534


Tell me how to strip whitespace (or other characters) from the beginning and end of a string?

538






write a programming in c to find the sum of all elements in an array through function.

1709


What type of function is main ()?

590


What do you mean by context?

223


What do you mean by routing in codeigniter?

335


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

605


How do I install an older version of a wordpress plugin?

104


What is the purpose of the pythonstartup environment variable?

477


How to print string in objective c?

1


Did you used the panel module? If yes then what is the use of that?

81


How to debug in drupal ?

77