Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

It\'s question for C language In order to properlv use a variable A. the variabl

ID: 670498 • Letter: I

Question

It's question for C language

In order to properlv use a variable A. the variable must have a valid type B. the variable name can not be a keyword (part of the C syntax) C. the variable name must begin with a letter or underscore D. all of the above How many times is a do while loop guaranteed to execute? A, 0 B, Infinitelv C, 1 D. It depends How do you display a string of text on your screen? A, Open file and use fprintf B. Use printf C. Use putc repeatedly D. Use fread to read data into the file. Is it correct that in scanf statement the number of "%" is always equal to the number of arguments after the first one? No, because we can use "*" to suppress the input B. Yes, otherwise there will be error in matching

Explanation / Answer

1. D All of the above

2. C 1

3. B printf

4. B Yes, otherwise there will be error in matching

5.
D gdb
E #include<file>
B typecast
F preprocessor

6.c = 1*9+(10-(-25))/5
c = 1*9+(10+25)/5
c = 1*9+35/5
c = 9+35/5
c = 9+7
c = 16

7. c = (7/9)*9
c = (0)*9
c = 0

8. c= ((double)7/9)*9
c= (7.00/9)*9
c= (0.777778)*9
c= 7

9. c = (int)((double)7/9)*9
c = (int)(7.000000/9)*9
c = (int)(0.777778)*9
c = 0*9
c = 0
  

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote