×

Arihant Online Academy's video: GATE CS 2015 Question 48 Set 3 GATE CS PYQs GATE CS Solutions C Programming Switch Case

@GATE CS 2015, Question 48, Set 3, GATE CS PYQs, GATE CS Solutions, C Programming, Switch Case
Consider the following C program: stdio.h int main() { int i, j, k = 0; j=2 * 3 / 4 + 2.0 / 5 + 8 / 5; k-=--j; for (i=0; i less than 5; i++) { switch(i+k) { case 1: case 2: printf("\n%d", i+k); case 3: printf("\n%d", i+k); default: printf("\n%d", i+k); } } return 0; } The number of times printf statement is executed is

6

0
Arihant Online Academy
Subscribers
34.7K
Total Post
881
Total Views
54.3K
Avg. Views
554.1
View Profile
This video was published on 2021-10-17 19:02:24 GMT by @Arihant-Online-Academy on Youtube. Arihant Online Academy has total 34.7K subscribers on Youtube and has a total of 881 video.This video has received 6 Likes which are lower than the average likes that Arihant Online Academy gets . @Arihant-Online-Academy receives an average views of 554.1 per video on Youtube.This video has received 0 comments which are lower than the average comments that Arihant Online Academy gets . Overall the views for this video was lower than the average for the profile.Arihant Online Academy #include #gatecs2015 #gatecspyqs #gatecssolutions #cprogramming has been used frequently in this Post.

Other post by @Arihant Online Academy