1._________is the name given to storage area that stores data.
2.__________are names given to Centities like variables, function, etc.
3.Conditional operators are also called as_________
4._________is the sequence of characters enclosed within double quotes.
5. Keywords are the_______words used in a programming language.
6. The____________
Keyword is use to declare a variable of floating type.
7. The combination of an operand and an operator makes an__________
8. Logical operators are also called as_______
9. The execution of C program begins with the________function.
10. Numeric constants can be integers or________numbers.
ANSWER THESE QUESTIONS
Answers
Answer:
4. strig
5 .reserved
6. float
7.expiration
10. floating
Answer:
1. A variable is the name given to storage area that stores data.
2. Identifiers are names given to entities like variables, function, etc.
3. Conditional operators are also called as ternary operator.
4. String is the sequence of characters enclosed within double quotes.
5. Keywords are the predefined and reserved words used in a programming language.
6. The float Keyword is use to declare a variable of floating type.
7. The combination of an operand and an operator makes an expression.
8. Logical operators are also called as Boolean operators.
9. The execution of C program begins with the main() function.
10. Numeric constants can be integers or floating type (decimal) numbers.
Explanation:
- A Variable can be considered as a name given to the location in memory where data is stored. The contents of the variable can change.
- An Identifier refers to the name given to variables, functions, structures etc. Identifiers are created to give a unique name to an entity to identify it during the execution of the program.
- In C, we use the ternary operator to run one code when the condition is true and when the condition is false, it runs another code. For example, (V_age >= 18) ? printf("Can Vote") : printf("Cannot Vote");
- A String is a sequence of characters that is terminated with a null character \0 . For example: char c[] = "c string"; When the compiler encounters a sequence of characters enclosed in the double quotation marks, a null character \0 appends at the end of it by default.
- Keywords are the words whose meaning is already been explained to the C compiler. The key words can't be used as a variable name.
- There are three major logical operators in the C language – Logical NOT (!), Logical OR (||), and Logical AND (&&). The Logical NOT (!) Operator returns true whenever the conditions that are under condition are false.
- When we run a C/ C++ program, the first statement executed will be at the beginning of a function called main().