Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Strange Photos Academic 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.

website counter


Posted By: Shanthi M       Member Level: Diamond       Posted Date: 10 Aug 2008       Category: Computer Basics

What is the output of the following program
main()
{
int a=10;
int b=6;

if(a=3)
b++;
printf("%d %d\n",a,b++);
}




Select Answer:

4,2
3,7
3,9
2,7




Question Source: HCL

      
Your Test Score: 0 / 0



Next Question: Which is the output produced by the following program main() { int n=2; printf("%d %d\n", ++n, n*n); }
Previous Question: What can be said of the following program? main() { enum Months {JAN =1,FEB,MAR,APR}; Months X = JAN; if(X==1) { printf("Jan is the first month"); } }
Related Questions:
  • What is the World Wide Web?


  • A ____________ is approximately a million bytes.


  • Name the register which contains the address of stack.


  • Rick wants to add a menu to his applet. Which abstract class is the superclass of all menu-related components?


  • void (*signal(int sig, void (*handler) (int))) (int); Which one of the following definitions of sighandler_t allows the above declaration to be rewritten as follows: sighandler_t signal (int sig, sighandler_t handler);


  • Categories

    Aptitude Test Arithmetic Reasoning General Knowledge - India 
    General Knowledge Computer Basics Physics 
    Mathematics Biology Chemistry 
    English Botany Anatomy 
    Physiology Biochemistry Pharmacology 
    Community medicine Forensic medicine Microbiology 
    Pathology Paediatrics Ophthalmology 
    ENT Obstretics and Gynaecology Surgery 
    Medicine 

    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.
    Watch TV Channels



    Contact Us    Editors    Privacy Policy    Terms Of Use   

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