Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. Which one is a logical operator? b) !- c) = d) es 2. Which of the following is NOT elements in a C prognam?
1. Which one is a logical operator? b) !- c) = d) es 2. Which of the following is NOT elements in a C prognam? a) Comments b) Preprocessor directives c) Main function prototype d) Preudocodes 3. Evaluate the expression: 6+210/313%4+(19427)= ? a) 16 b) 26 c) 15 d) 41 4. Which function takes two arguments ( x as a base value and y as a power value) and, returns the y; value? a) sqrt(3,y) b) pow(3,y) c) floor(3,y) d) pow(y,3) 5. Which symbol is called as address of operator (i.e.used in reading a value to a variable)? a) \# b) \&\& c) % d) \& 6. Which of the following is correct if a char variable named myChar with an initial value of C is declared? a) my Char = C char; b) \#include CONST myChar ' C '; c) char my Char = 'C'; d) myChar char =C;; 7. Which of the following is a valld identifier (as a variable name)? a) Valid var b) RealNumber- 0.2 c) integer_No+3 d) Mult* symbol Which variable declaration is wrong? a) int ch; b) ch char; c) double ch; d) char ch; Which of the following is an invalid identifier (as a variable name)? cmpe_102 b) CMPEIO2 c) CMPE 102 d) 102cmpe h of the following takes input from the standard input device (keyboard) and puts it into a le named mm? ff ( cof, num ) b) scanf( siod" , \&num); c) scanf(%.2f, num ) d) printf(uo/od
Step by Step Solution
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