1000+ C Interview Questions and Answers 2023 - 2024 Pdf - 2

Question: 6

What is user defined functions?

When a specific task is to be repeated numerous times or at different places in a program, it is convenient to transfer the code associated with that task into a function. The user or programmer can write functions to define specific tasks that may be used at many points in a program.

Question: 7

What is an expression?

An expression occurs usually on the right hand side of an assignment statement. It has a value when it is evaluated.

Question: 8

What are the statements?

Each and every line of a C program can be considered as a statement. There are generally four types of statements. They are

1. Preprocessor statement

2. Function header statement

3. Declaration statement and

4. Executable statement.

Question: 9

What are identifier?

Identifiers are the names that are to be given to the variables, functions, data types and labels in a program. The name of a variable can consist of alphabets (letters) and numbers.

Question: 10

What is a loop?

A loop s a part of a program that comes back and repeats itself as many times as necessary. In C programming, there are three control statements namely, while, for and do while.

Related Questions