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 / ramprabha

0

Is This Answer Correct ?    3 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is the general form of a c program?

1101


What are dangling pointers in c?

1253


How pointers are declared?

965


What are the types of i/o functions?

1349


Difference between MAC vs. IP Addressing

1156


If I have a char * variable pointing to the name of a function ..

1179


Differentiate between #include<...> and #include '...'

1068


What are the different types of pointers used in c language?

1054


What is the use of getchar functions?

1185


Explain can the sizeof operator be used to tell the size of an array passed to a function?

1080


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2418


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1131


What are high level languages like C and FORTRAN also known as?

1176


Explain continue keyword in c

1027


Explain two-dimensional array.

1087