ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Do you have a collection of Interview Questions and interested to share with us!!
Please send that collection to along with your userid / name. ThanQ
Google
 
Categories  >>  Software  >>  Programming Languages  >>  C++  >>  STL
 
 


 

 
 STL interview questions  STL Interview Questions
 OOPS interview questions  OOPS Interview Questions
 C++ General interview questions  C++ General Interview Questions
Question
what is use of for loop?
 Question Submitted By :: Kannan.p
I also faced this Question!!     Rank Answer Posted By  
 
  Re: what is use of for loop?
Answer
# 1
for loop use is one are more then printing in printup 
statements.
 
Is This Answer Correct ?    0 Yes 0 No
Kannan.p
 
  Re: what is use of for loop?
Answer
# 2
for loop use is more then one calculation or process can be 
performed, for example:
          for(int i=0;i<5;i++)
          { 
                printf("%d",i);
           }
In the above example the printf statement can be excuted in 
five times.
 Output:0 1 2 3 4
 
Is This Answer Correct ?    0 Yes 0 No
Geetha
 
 
 
  Re: what is use of for loop?
Answer
# 3
for loop is used to repeate the process for certain number 
of time s known.
 
Is This Answer Correct ?    0 Yes 1 No
Murugasundari
 
  Re: what is use of for loop?
Answer
# 4
for loop is executed as long as condition is true and 
process the loop until condition is fail.
 
Is This Answer Correct ?    0 Yes 0 No
Keshav.gadde
 
  Re: what is use of for loop?
Answer
# 5
it is a loop which can have 3 conditions like
1)initiating a value to a variable
2)incrementation/decrementation
3)and a specific condition
 
Is This Answer Correct ?    0 Yes 0 No
Swathi
 
  Re: what is use of for loop?
Answer
# 6
for the repeated eecution of a statement or a block we use 
for loop.
 
Is This Answer Correct ?    0 Yes 0 No
Gunasekhar
 
  Re: what is use of for loop?
Answer
# 7
testing the condition more than one time.when it gets true 
the loop will be finished.
 
Is This Answer Correct ?    0 Yes 0 No
Madhu
 

 
 
 
Other STL Interview Questions
 
  Question Asked @ Answers
 
I am doing my BS.c MATHS CAN I ABLE TO JOIN IN NIIT?  1
Give the output of the following program main() {int ret; ret=fork();ret=fork();ret=fork();ret=fork(); if(!ret) printf("sun"); else printf("solaris"); Sun-Microsystems4
Waht is inheritance  4
What is Template Specialization? Lucent1
What is 2*2?  3
In what cases using of a 'template' is a better approach then using of a 'base class'? Lucent6
what's the difference between function overloading and function overiding?  2
What is Object Oriental Progam  1
Define the terms: field, record, table and database  1
Give the output of the following program main() {char *p='a'; int *i=100/*p; } what will be the value of *i= 1 Sun-Microsystems3
What is Constructor Angel-Broking2
How Find, Replace and Go To commands ca be used to substitute one character string for another? Explain with the heIp of an example.  1
c# support late binding or early binding.  3
what is use of for loop? Wipro7
How the STL's are implemented, What the difference between templates and STL? Symphony1
Explain how to insert a hyperlink in to an Excel worksheet and save a Word document as a Web page.  1
What is the disadvantage of templates ? Symphony2
Find the error in the following program struct point {struct point *next; int data; } x; main() {int...data; } x; main() {int i; for(x=p;x!=0;) x=x->next,x++; freelist(x); } freelist(x) {free(x); return } Sun-Microsystems1
What is the underlying datastructure of map? Siemens4
what is strcture i++ i ++i answer to this i=5 what is the out put  5
 
For more STL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com