Answered step by step
Verified Expert Solution
Link Copied!

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?

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional IPhone And IPad Database Application Programming

Authors: Patrick Alessi

1st Edition

0470636173, 978-0470636176

Students also viewed these Databases questions

Question

Choose an appropriate organizational pattern for your speech

Answered: 1 week ago

Question

Writing a Strong Conclusion

Answered: 1 week ago