C Programming Interview Questions and Answers - 4

Question: 16

Can variable name start with numbers?

No. variable names can’t start with numbers as per the variable naming rule.

Question: 17

List out some of C compilers?

There are so many compilers available in market for Windows operating system and UNIX. We are listing some of them here for your reference.

AMPC

CCS C Compiler

ch

clang

cygwin

Digital mars

GCC compiler

MikroC Compiler

Portable C Compiler,Power C, QuickC, Ritchie C Compiler, Small- C.

Question: 18

What is modifiers in C?

The amount of memory space to be allocated for a variable is derived by modifiers.

Modifiers are prefixed with basic data types to modify the amount of storage space allocated to a variable.

Question: 19

What is void in C?

Void is an empty data type that has no value.

We use void data type in functions when we don’t want to return any value to the calling functions.

 

Question: 20

How do you declare a variable that will hold string values?

The char keyword can only hold I character value at a time. By creating an array of characters, you can store string values in it.

Related Questions