6
How many times will the following loop be executed?
ch = ‘b’ while (ch > = ‘a’ && ch <= ‘z’)
Answer: Option [B]
ch = ‘b’ while (ch > = ‘a’ && ch <= ‘z’)
Answer: Option [B]
#include <stdio.h> void main () { int a = 7, b = 5; switch (a/a % b) { case 1 : a = a-b; case 2 : a = a+b; case 3 : a = a*b; case 4 : a = a/b; default : a = a; } }
One the execution of above program, what will be the variable a?
Answer: Option [C]
Article and Schedule Quiz | Start Test! |
#include <stdio.h> void main () { static a, b; while (a > b ++) }
What will be the value of a and b on the execution of above program?
Answer: Option [A]
Answer: Option [C]
Missiles Mock Test | Start Test! |
SSC MTS Mock Test | Start Test |
IBPS CLERK MOCK TEST | Start Test |
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) | Start Test! |
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) | Start Test! |
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) | Start Test! |
MPSC PAPER I MOCK TEST 1 (ENGLISH) | Start Test! |
IB Security Assistant Mock test 1 (english) | Start Test! |
UP POLICE CONSTABLE MOCK TEST 1 | Start Test! |
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) | Start Test! |