What Is Recursion? ,Java, C ,C++, ASP, ASP.net C# ,Struts ,Questions & Answer, Struts2, Ajax, Hibernate, Swing ,JSP , Servlet, J2EE ,Core Java ,Stping, VC++, HTML, DHTML, JAVASCRIPT, VB ,CSS, interview ,questions, and answers, for,experienced, and fresher
What Is Recursion?

Recursion is when a thing refers to itself or to an image just like itself. For a function, recursion means that the function calls itself. For an object,Recursion is when the object
refers to things like itself by means of a pointer or a reference. Often, recursive structures and recursive functions go hand in hand. The best way to do many of the common operations on recursive structures is to use a recursive function.

More interview questions and answers

What is output of following code package r4r.co.in.core.java; public class HelloWorld { int i = 0; public static void main(String args[]) { System.out.println(i); new HelloWorld(); } static { int i; i = 10; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { int i = 0; public static void main(String args[]) { System.out.println(i); new HelloWorld(); } static { static int i; i = 10; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { int i = 0; public static void main(String args[]) { System.out.println(i); new HelloWorld(); } static { final static int i=0; i = 10; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); new HelloWorld(); } static { final int i=0; i = 10; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); new HelloWorld(); } static { static final int i=0; i = 10; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); new HelloWorld(); } static { static int i=0; i = 10; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); display(); } void display(){ i=90; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); display(); } static void display(){ i=90; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); display(); } static void display(){ int i=0; i=90; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); display(); HelloWorld h=new HelloWorld(); h.display(); } static void display(){ int i=0; i=90; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); HelloWorld h=new HelloWorld(); h.display(); } void display(){ int i=0; i=90; System.out.println(i); } }

What is output of following code package r4r.co.in.core.java; public class HelloWorld { static int i = 0; public static void main(String args[]) { System.out.println(i); display(); HelloWorld h=new HelloWorld(); h.display(); } void display(){ int i=0; i=90; System.out.println(i); } }

What are the Linked List?

What is the Interaction Diagrams?

What is the Double LinkedList?

Whats the use of Interaction Diagrams?

What is the difference b/n Linear search and Binary search?

What is the class diagram ?

What do you understand about B-Tree?

What is the Realization?

What is the mean of Utility Classes?

What is the mean of Utility Classes?

What is Thrashing?

What is the mean of Memory Leaks?

void main() { int i=10, j=2; int *ip= &i, *jp = &j; int k = *ip/*jp; printf("%d",k); }

{ char ch; for(ch=0;ch<=127;ch++) printf("%c %d \n", ch, ch); }

Is this code legal? int *ptr; ptr = (int *) 0x400;

main() { char a[4]="HELLO"; printf("%s",a); }

main() { char a[4]="HELL"; printf("%s",a); }

main() { int a=10,*j; void *k; j=k=&a; j++; k++; printf("\n %u %u ",j,k); }

main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i;

What is the The Deque Container?

char *someFun() { char *temp = "string constant"; return temp; } int main() { puts(someFun()); }

char *someFun1() { char temp[ ] = "string"; return temp; } char *someFun2() { char temp[ ] = {"s", "t","r","i","n","g"}; return temp; } int main() { puts(someFun1()); puts(someFun2()); }

What is a pragma?

What are The Multimap Container?

Whats the requirement of Input Itrator?

What is the difference b/n the Heap and the Stack

What is the difference between the Heap and the Stack?

Why n++ executes faster than n+1?

What is the Heap Operations?

What is the difference b/n a linker and linkage?

What is the difference b/n run time binding and compile time binding?

What Is Recursion?

What is the Hash Function?

What is the chaining?

What is an Bucket Addressing?

What is Quadratic Probing?

What is the Parsing? and tell me how many types of Parsing?

What is Parsing Numeric Expressions?

What Is a B-Tree?

What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

What is PHP?

Tell more about PHP file?

How PHP is more secure than JavaScript?

What do you understand about MySQL?

Why do we use PHP?

How to install PHP in our system?

What is the Syntax of PHP?

Tell me about basic statements that we used in PHP?

What are the PHP variables?

What are the Limitations of Variable Naming?

How to declare data types in PHP?

What is the use of strlen() and strpos() functions?

Tell me about PHP operator?

Why we use Semicolon after SQL Statements?

How we use if..else and elseif statement in PHP?

Define the Primary key?

What do you mean by Candidate key?

What is the Foriegn Key?

How to use Switch statement in PHP?

What are the use of Null?

What do you understand with array in PHP?

What are the properties of the Relational tables?

What do you understand about Numeric array, Associative array and Multidimensional array?

What is De-Normalization?

What is the mean of Nested Trigger?

What is a Linked Server?

What do you understand about looping in PHP?

What is Cursor?

What is Collation?

What is Difference between Function and Stored Procedure?

What is the Sub-Query?And what is the properties of Sub-Query?

How to use while,do..while,for and foreach loop in PHP?

Give the list how many type of Joine?

Define : What is the Cross Join?

give us a definition of Inner Join?

What do you mean by Outer Join? and define also how many types of Outer Join?

Defeine : Self Join?

What is User Defined Functions?

What kind of User-Defined Functions can be created?

What do you understand functions in PHP?How we create them?

What is Identity?

What is DataWarehousing?

What is the clustered index?

What do you mean by A non clustered index?

How to handle form in PHP?

What are the different index configurations a table can have?

What are different types of Collation Sensitivity?

What is OLTP?

R4R provides free online tutolrails ,examples for Freshers and experts .We cover core java, tutorials, spring, Hibernate, python, struts, struts 2,c language, spring boot,PHP,MYSQL,C#,ASP.NET,WPF,WCF,Photoshop , JSP, programming, example, Interview questions and answer