Skip to Main Content
Xpress Learning - Computer Fundamentals of Programming an IT by Pearson
book

Xpress Learning - Computer Fundamentals of Programming an IT by Pearson

by Ashok N. Kamthane, Rohit Khurana
May 2024
Beginner to intermediate content levelBeginner to intermediate
465 pages
16h 14m
English
Pearson India
Content preview from Xpress Learning - Computer Fundamentals of Programming an IT by Pearson
Decision Statements II-93
(a) pleasantmood (b) moo
(c) mood (d) None of the above
25. What will be the output of the following program?
(a) Hai! (b) Hao
(c) oHai (d) None of the above
26. What will be the output of the following program?
case 'p': printf("%s","Pleasant");
case 'B': printf("%s","mood");
}
else
case 'G': printf("%s","moo");
default : printf("%s", " ");
}
}
void main()
{
char x='H';
clrscr();
switch(x)
{
case 'H': printf("%c",'H');
case 'E': printf("%c",'a');
case 'L': printf("%c",'i');
case 'l': printf("%c",'!');break;
case 'O': printf("%c",'O');
}
}
void main()
{
char x=0;
clrscr();
switch(x)
{
case 0 : printf("%c",'C'); break;
case 0 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Express Learning - Computer Fundamentals and Programming

Express Learning - Computer Fundamentals and Programming

Ashok Kamthane, ITL ESL
Windows® Internals, Sixth Edition, Part 2

Windows® Internals, Sixth Edition, Part 2

David A. Solomon Mark E. Russinovich and Alex Ionescu

Publisher Resources

ISBN: 9781299954878