Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the output of the program and explain why??
#include<stdio.h>

void main ( )

{

int k=4,j=0:

switch (k)

{

case 3;

j=300;

case 4:

j=400:

case 5:

j=500;

}

printf (ā€œ%d\nā€,j);

}

Answer Posted / gouse mohiddin

500

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between NULL and NUL?

1290


What is difference between structure and union with example?

1056


Some coders debug their programs by placing comment symbols on some codes instead of deleting it. How does this aid in debugging?

1121


Under what circumstances does a name clash occur?

1200


How can I discover how many arguments a function was actually called with?

1066


Define and explain about ! Operator?

995


What are structure members?

1090


Can a variable be both const and volatile?

1130


What are the different types of objects used in c?

1027


How can I automatically locate a programs configuration files in the same directory as the executable?

1167


What are data types in c language?

1057


How can I find the modification date of a file?

1283


What is use of bit field?

1292


How can I determine whether a machines byte order is big-endian or little-endian?

1057


Can an array be an Ivalue?

1092