Merits of using constants in program


Question1. Explain the term variable?

Question2. What is meant by the term variable declaration?

Question3. Give one merits of using constants in program.

Question4. Write suitable declarations for following group of variables:

a) Floating-point variables: a, b, c

b) Character variables: a, b, c

c) Long integer variable: factorial

d) Unsigned integer variable: student_id

c) Double-precision variables: root1, root 2

Question5. What is the purpose of „getchar? function? How is it used in a C program?

Question6. How can the „getchar? function is employed to read multi-character strings?

Question7. What is the purpose of control string in „scanf? function?

Question8. What kind of information does it convey? Of what is the control string composed?

Question9. What is the purpose of „printf? function? How is it used in C program?

Question10. How do you compare the „printf? function with „putchar()? function.

Question11. List all three relational operators (giving their symbol and meaning) you know in C.

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Merits of using constants in program
Reference No:- TGS05895

Expected delivery within 24 Hours