1000+ C Programming Coding Questions and Answers - 2
Question: 6
Which is the data type associated with string literal?
The data type associated with a string literal is char * (character pointer).
Question: 7
What is syntax?
The set of rules and regulations followed by a particular language is called syntax.
Question: 8
What is formal parameters?
Formal parameters are the parameters defined in the called function and they receive the values of the actual parameters when the function is invoked.
Question: 9
What are fundamental data types?
The fundamental data types are int, float and char. They are also called as pre-defined primitive types associated with the C compiler. The C compiler knows about these types and the operations that can be performed on the values of these keywords.
Question: 10
What is ternary operator?
C has one ternary operator, which is a conditional operator. The symbol used for this operator is ?: and it has three operands.
The syntax of the conditional operator is
Conditional expression ? expression 1 : expression 2 :
If the conditional expression is true, expression 1 is evaluated. If the conditional expression is false, expression 2 is evaluated.
- Top 500+ C Language Interview Questions and Answers Pdf
- C Language Interview Questions and Answers
- C Language Interview Questions and Answers for Freshers
- C Language Interview Questions and Answers for Experienced
- C Programming Interview Questions and Answers
- Embedded C Interview Questions and Answers Pdf
- Top 200+ Advanced C Language Interview Questions 2020-2021
- C Programming Question Bank with Answers Pdf
- C Programming Interview Questions and Answers for Freshers
- C Programming Interview Questions and Answers for Experienced
- C Programming Basics Questions and Answers Pdf
- 1000+ Advanced C Programming Interview Questions & Answers
- 1000+ C Interview Questions and Answers 2023 - 2024 Pdf
- 1000+ C Programming Coding Questions and Answers
- 1000+ C Basic Interview Questions for Freshers Pdf
- 1000+ C Questions and Answers Pdf
Control System Questions and Answers Pdf More
GATE Analog Electronics MCQ Questions and Answers More
Analog Electronics Questions Pdf Download with Answers More
Engineering Materials Science MCQ Questions & Answers More
Material Science MCQ Questions Pdf Download More
Environment and Biodiversity MCQ Quiz More
1000+ English Fill in the Blanks Questions & Answers Pdf More
Top 20+ LINQ Interview Questions and Answers More
7000+ Geography Questions and Answers 2024 - 2025 Pdf More
UPSC, SSC, IAS, IPS, TNPSC Prelims Mains Questions on Panchayati Raj More