This page provide C PROGRAMMING MCQs-4 (20 Multiple choice question with Answer) that is very useful of Computer science students like preparation of many exam Like ( ISRO,DRDO ,Semester, Interview , Railway & another Government Sector)
C programming is the basic language of programming that help to learn another language. So this MCQ is very useful for you.
C is a general purpose ,high level language that originally developed by Dennis Ritchie to develop the UNIX operating system at Bell labs.
Q.61 Every c program consists of ------- function?
A C program must have at least one function, which is the main() function, but it can contain many other user-defined functions to perform various tasks.
A compiler primarily identifies syntax errors. While logical errors are usually found during runtime, the compiler can often identify certain semantic issues that lead to logical failures.
Q.63 Which of the following is related to machine language ?
Machine language consists of binary code (0s and 1s), making it extremely difficult for humans to read. It is specific to the hardware architecture (machine dependent) and was the first level of programming.
Q.64 A program that converts a high level language program to a set of instructions that can run on a computer is called a :
A compiler translates the entire source code written in a high-level language into machine code or an executable file that the computer's processor can understand.
Q.65 Which of the following is logical AND operator?
Syntax errors are violations of the language's grammatical rules (like missing semicolons), which are detected by the compiler during the translation process.
Q.68 The sign ‘#’ of the compiler directive must appear at the ______ of a line