GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Placement Papers  >  TCS  >  C
Go To First  |  Previous Question  |  Next Question 
 C  |  Question 54 of 87    Print  
Identify the in correct expression

A. a=b=3=4
B. a=b=c=d=0
C. float a=int b= 3.5
D. int a; floatb; a=b=3.5;


  
Total Answers and Comments: 1 Last Update: December 25, 2005   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
December 25, 2005 03:40:14   #1  
chandravathi Member Since: December 2005   Contribution: 1    

RE: Identify the in correct expressionA. a=b=3=...
a is incorrect. as the assignment takes place from right to left first 3 is assigned a value of 4 which will give an error.
 
Is this answer useful? Yes | No

 Related Questions

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.

Which of the following about automatic variables within a function is correct ?a.its type must be declared before using the variableb.they are localc.they are not initialised to zerod.they are global.

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

Latest Answer : the incorrect ans is if()then ie,option 3 bcos there is no then  keyword in c language ...

Which of the following statements is incorrecta.typedef struct new{int n1;char n2;} DATA;b.typedef struct {int n3;char *n4; }ICE;c.typedef union {int n5;float n6;} UDT;d.#typedef union {int n7;float n8;} TUDAT;

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

Which of the following about automatic variables within a function is correct?A. Its type must be declared before using the variableB. They are localC. They are not initialized to zeroD. They are global

Latest Answer : '9' is a charecter constant ...

Latest Answer : string.anything within inverted commas is a string. ...

Latest Answer : float ...


 Sponsored Links

 
Related Articles

Planning and choosing the correct ERP

Planning and choosing the correct ERP It is very common to think that implementing a new software is an easy topic and can be solved in a few days However this is not always the case There are some systems that require more time than others for implementation and even more previous considerations ER
 

Operator, Operand and Expression in C

Operator, Operand, and Expression in are symbols which take one or more operands or expressions and perform arithmetic or logical computations. Types of operators available in C are as follows: Arithmetic Assignment Logical/relational Bitwise These have operators under each
 

How to Identify Scam Jobs

Scams happen everywhere and they often target people who are not aware of the latest types of scams. As a fresh graduate you could end up being scammed. Not only you will waste your efforts in something not profitable but you will be losing money as well. You should be aware of the many scenarios wh
 

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