Members BookmarksPolls Fresher Jobs Funny Pictures MCA Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

Advertisements


website counter


Posted By: Saranya       Member Level: Diamond       Posted Date: 10 Jun 2008       Category: Computer Basics

Predict the output of the following code:
main(){
float a,b,c,x;
a=9;
b=12;
c=3;
x=a - b / 3 + c * 2 - 1;
printf("x = %f\n", x);
}







Select Answer:

x=10.0
x=2
x=4
x=8




      
Your Test Score: 0 / 0



Next Question: Which global variable can be used by all the functions in a file?
Previous Question: Predict the output of the following code. main(){ int i=45677; int j=~i; printf("j = %d\n",j); }
Related Questions:
  • Frequency od SATA II is


  • Closed loop operation in a fuel injection system is based on:


  • Robby has to create a table containing a column that can store characters from more than one character set. Every entry for the column has the same fixed length which is less than 4000 Unicode characters. Which datatype should Robby assign to the column?


  • Which lines of the devices file store and display information from the device descriptors that is specific to the vendor of the product?


  • Which of the following parameters of smartcard -c admin command indicates that you need to configure a card reader?


  • Categories

    Aptitude Test Arithmetic Reasoning General Knowledge - India 
    General Knowledge Computer Basics Physics 
    Mathematics Biology Chemistry 
    English Botany 

    Submit Interview/Test Questions with Answers and make money from adsense revenue sharing program

    Want to prepare for an interview? Try our aptitude tests and standard interview questions first.


    Contact Us    Privacy Policy    Terms Of Use   

    SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.