Submitted by tushar pramanick on Mon, 02/25/2013 - 11:25

Questions & Answers

 

Q1. What is the lowest-level language in the computer world?

Ans. The computer's machine language is the lowest because the machine language, made up of 0s and 1s, is the only language that the computer can understand directly.

Q2. What are the advantages of high-level programming languages?

Ans. Readability, maintainability, and portability are the main advantages of high-level programming languages.

Q3. What is C, anyway?

Ans. C is a general-purpose programming language. It's a high-level language that has advantages such as readability, maintainability, and portability. Also, C allows you to get down to the hardware to increase the performance speed if needed. A C compiler is needed to translate programs written in C into machine-understandable code. The portability of C is realized by recompiling the C programs with different C compilers specified for different types of computers.

Q4. Can I learn C in a short time?

Ans.  Yes. C is a small programming language. There are not many C keywords or commands to remember. Also, it's very easy to read or write in C because C is a high-level programming language that is close to human languages, especially English. You can learn C in a relatively short time.

 

 

Related Items

The main() Function, return statement in C Programming

The main() Function
In line 4 of Listing 2.1, you see this function:

The exit() Function in C Programming

The exit() Function

There is also a C library function, exit(), that can be used to cause a program to end. Because the exit() function is defined in a header file, stdlib.h, you have to include the header file at the beginning of your program।

The void Data Type in C Programming

The void Data Type

You may notice that the void word has been added into the C program in Listing 2.2. void is a keyword for a data type in C. When a void is placed prior to a function name, it indicates that the function does not return a value.

#include Directive and Header Files in C Programming

The #include Directive
Let's now move to line 2 in the C program of Listing 2.1:

Compiling and Linking C Programs

Compiling and Linking