GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Placement Papers  >  TCS  >  C

 Print  |  
Question:  Identify the incorrect one
1.if(c=1)
2.if(c!=3)
3.if(a<b)then
4.if(c==1)

A. 1 only
B. 1&3
C. 3 only
D. All of the above




October 10, 2006 06:06:47 #2
 Sreehari   Member Since: Visitor    Total Comments: N/A 

RE: Identify the incorrect one1.if(c=1)2.if(...
 

Hi its answer is  a 1 only

because the condition to check must use == 

     

 

Back To Question