9. Predict the output or error(s) of the following c code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
 main()
{
	int i=3;
	switch(i)
	{
	    default:printf("zero");
	    case 1: printf("one");
			break;
		case 2:printf("two");
			break;
		case 3: printf("three");
			break;
	 }  
}

Click here to view the answer

Peter Vegas

One thought on “9. Predict the output or error(s) of the following c code

  1. より:I seriously enjoy what you post right here. Extremely ihuigntfsl and intelligent. One concern though. I’m running Firefox with Debian and parts of your current page layout pieces are a little wonky. I realize it’s not a normal set up. But it’s something to hold in the mind. I wish that it will probably help and keep the finest quality writing.

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in