Answered step by step
Verified Expert Solution
Question
1 Approved Answer
What should be the output of below program? main() { } int a = 1; switch(a) { case 1: cout < Which of the
What should be the output of below program? main() { } int a = 1; switch(a) { case 1: cout < Which of the following is used for comments in C++? * both // comment or /* comment */ /* comment */ O // comment */ // comment What are mandatory parts in the function declaration? * O parameters, variables O return type, function name O parameters, function name return type, function name, parameters Can a for loop contain another for loop? * O Runtime Error No OYes O Compilation Error How many choices are possible when using a single if-else statement? * 04 02 O 3 O 1 Which of the following is not a comparison operator in C++ language? O O * The maths function acos(x) stands for Inverse cos(x) O csc(x) Inverse sin(x) O Inverse Tan(x) Which from the following is not a maths functions? * O exp() time () O log() O pow () //What is the output of below program? main() { int a = 10; cout < What will be the output of the following C++ code? * #include using namespace std; void fun(int, int); main() { int x = 10; fun(x, x); cout < < x; void fun(int x, int y) { } x = 20; y = 10: O compile time error O 20 O 10 O 30 What should be the output of below program? main() { * } int a = 1; switch(a) { case 1: cout
Step by Step Solution
★★★★★
3.38 Rating (151 Votes )
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started