GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 44 of 87    Print  
Which of the following represents true statement either x is in the range of 10 and 50 or y is zero

A. x >= 10 && x <= 50 || y = = 0
B. x<50
C. y!=10 && x>=50
D. None of these


  
Total Answers and Comments: 2 Last Update: June 13, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
March 31, 2006 01:53:00   #1  
addy        

RE: Which of the following represents true statement e...
A
 
Is this answer useful? Yes | No
June 13, 2008 11:57:27   #2  
chandradeepika Member Since: May 2008   Contribution: 36    

RE: Which of the following represents true statement either x is in the range of 10 and 50 or y is zeroA. x >= 10 && x <= 50 || y = = 0B. x<50C. y!=10 && x>=50D. None of these
ans:A)x> 10 && x< 50 || y 0
 
Is this answer useful? Yes | No

 Related Questions

Latest Answer : semicolon ...

What is false about the following A compound statement is a.A set of simple statmentsb.Demarcated on either side by curly bracketsc.Can be used in place of simple statementd.A C function is not a compound statement.

What is true about the followingC Functionsa.Need not return any valueb.Should always return an integerc.Should always return a floatd.Should always return more than one value.

Write one statement equivalent to the following two statementsx=sqr(a);return(x);Choose from one of the alternativesa.return(sqr(a));b.printf("sqr(a)");c.return(a*a*a);d.printf("%d",sqr(a));

Which of the following represents true statementeither x is inthe range of 10 and 50 or y is zeroa.x>=10 && x<=50 || y==0;b.c.d.

Which of the following is not an infinite loop ?a.while(1){....}b.for(;;){...}c.x=0;do{/*x unaltered within the loop*/...}while(x==0);d.# define TRUE 0while(TRUE){....}

Consider the following structure:struct num nam{int no;char name[25];};struct num nam n1[]={{12,"Fred"},{15,"Martin"},{8,"Peter"},{11,Nicholas"}};..........printf("%d%d",n1[2],no,(*(n1 + 2),no) + 1);What does the above statement print?a.8,9b.9,9c.8,8d.8,unpredictable value

Regarding the scope of the varibles;identify the incorrect statement:a.automatic variables are automatically initialised to 0b.static variables are are automatically initialised to 0c.the address of a register variable is not accessiabled.static variables cannot be initialised with any expression

What is false about the following -- A compound statement isA. A set of simple statementsB. Demarcated on either side by curly bracketsC. Can be used in place of simple statementD. A C function is not a compound statement.

What is true about the following C FunctionsA. Need not return any valueB. Should always return an integerC. Should always return a floatD. Should always return more than one value


 Sponsored Links

 
Related Articles

What are the limitations with switch statement?

Switch statement is a powerful statement used to handle many alternatives and provides good presentation for C program. But there are some limitations with switch statement which are given below: Logical operators cannot be used with switch statement. For instance case k&gt;=20: is not allowe
 

goto Statement

Why to avoid goto in C C has goto statement but one must ensure not to use too much of goto statement in their program because its functionality is limited and it is only recommended as a last resort if structured solutions are much more complicated. First let us understand the goto statement, its
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape