C Language Interview Questions and Answers for Experienced - 6
Question: 26
What is type casting?
Type casting is the process of converting the value of an expression to a particular data type.
Example:
int x,y;
C=(float) x/y;
Where x and y are defined as integers. Then the result of x/y is converted into float.
Question: 27
What is meant by Control String in Input/output Statements?
Control String contains the format code characters, specifies the type of data, that the user accessed within the Input/output statements.
Question: 28
What are the main elements of an array declaration?
There are three elements are there called Array name, Type and Size.
Question: 29
How can you return more than one value from a function?
Function return only one value. By using pointer we can return more than one value.
Question: 30
What is a union?
Union is also a group name used to define dissimilar data types.
The Union occupy only the maximum byte of the data type.
If you declare Integer and character, then the union occupy only 2 bytes.
Whereas Structure occupy only 3 bytes.
- 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
Dairy and Food Engineering MCQ Questions Pdf More
Nuclear Physics Questions for Class 10 with Answers Pdf More
Samacheer Kalvi Class 10 Science Nuclear Physics Questions More
Class 10 Science Acoustics Exam Questions & Answers Pdf More
Samacheer Kalvi Class 10 Science Acoustics Questions & Answers More
Latest 10,000 Easy General Knowledge Questions and Answers More
C++ Functions Quiz Questions and Answers More
7000+ General Awareness Questions asked in SBI PO Pdf More
Percentage Questions with Solutions for Bank Exams More
SQL Interview Questions and Answers for Experienced More