Which of the following is correct with respect to the instructions in a C program?
Some instructions operate on data of the program.
Some instructions control the flow of program.
Both a & b
Only a
Answers
Answered by
3
both a and b are correct for c language
Answered by
0
c) Both a & b is the correct option with respect to the instructions in a C program
- Instructions in C are the commands in the program that will literally instruct C compiler to perform specific tasks or actions. Whenever we write a C instruction in a program, we are telling C compiler to do a certain job for us which otherwise the C compiler would not understand.
- There are three types of instructions - Type Declaration instruction, Arithmetic instruction and Control instruction.
- Type declaration instructions specify to the compiler about the type of the 'data' to be stored in a variable so that the compiler can actually work with it.
- Arithmetic instructions are used to perform arithmetic operations in the program with the data available such as +, - , * , / , % , etc.
- The control instructions are used to control the flow of program execution in C.
Similar questions