Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities 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.

website counter


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

What is the result of executing the given code when the value of x is 2.
switch(x){
case 1: cout<<1;
case 2:
case 3: cout<<3;
case 4: cout<<4;
break;
default: cout<<0;
break;
}







Select Answer:

3
3,4
1,3,4
0




      
Your Test Score: 0 / 0



Next Question: Statement A: Arrays in C++ occupy contiguous memory locations. Statement B: C++ only supports integer type of arrays.
Previous Question: What is a function prototype?
Related Questions:
  • Select all the characteristics of a Distance Vector routing protocol (Choose two).


  • Which function is the entry point for a DLL in MS Windows 3.1


  • A DIM statement _______.


  • You are configuring an IIS Server on an NT Server which is going to be used as a FTP Server and also a WWW Server. How will you configure it for the Host record to resolve ftp.microsoft.com or www.microsoft.com?


  • In which type of switching do all the datagrams of a message follow the same channels of a path


  • 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.