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

is it possible to create your own header files?

1107


Why is it important to memset a variable, immediately after allocating memory to it ?

2083


what is the height of tree if leaf node is at level 3. please explain

2153


What are the advantages and disadvantages of c language?

1020


Write a program to print fibonacci series without using recursion?

1150


How to create struct variables?

1119


What does return 1 means in c?

1079


What is malloc() function?

1175


int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(ā€œ-ā€œ); Return 0;

1836


How can you increase the size of a dynamically allocated array?

1197


What is #include stdlib h?

1112


What is call by reference in functions?

1463


How many header files are in c?

1042


What is an identifier?

1044


How can I implement sets or arrays of bits?

1049