Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Test: Programming in C - Computer Science Engineering (CSE) MCQ

Test: Programming in C - Computer Science Engineering (CSE) MCQ


Test Description

10 Questions MCQ Test - Test: Programming in C

Test: Programming in C for Computer Science Engineering (CSE) 2024 is part of Computer Science Engineering (CSE) preparation. The Test: Programming in C questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Programming in C MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Programming in C below.
Solutions of Test: Programming in C questions in English are available as part of our course for Computer Science Engineering (CSE) & Test: Programming in C solutions in Hindi for Computer Science Engineering (CSE) course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Programming in C | 10 questions in 30 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Programming in C - Question 1

Who is the father of C language?

Detailed Solution for Test: Programming in C - Question 1

Dennis Ritchie is the father of C Programming Language. C programming language was developed in 1972 at American Telephone & Telegraph Bell Laboratories of USA.

Test: Programming in C - Question 2

Which is valid C expression?

Detailed Solution for Test: Programming in C - Question 2

Space, comma and $ cannot be used in a variable name.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Programming in C - Question 3

Which keyword is used to prevent any changes in the variable within a C program?

Detailed Solution for Test: Programming in C - Question 3

const is a keyword constant in C program.

Test: Programming in C - Question 4

Property which allows to produce different executable for different platforms in C is called?

Detailed Solution for Test: Programming in C - Question 4

Conditional compilation is the preprocessor facility to produce a different executable.

Test: Programming in C - Question 5

C preprocessors can have compiler specific features.

Detailed Solution for Test: Programming in C - Question 5

#pragma is compiler specific feature.

Test: Programming in C - Question 6

What is the 16-bit compiler allowable range for integer constants?

Detailed Solution for Test: Programming in C - Question 6

In a 16-bit C compiler, we have 2 bytes to store the value.

  • The range for signed integers is -32768 to 32767.
  • The range for unsigned integers is 0 to 65535.
  • The range for unsigned character is 0 to 255.
Test: Programming in C - Question 7

Why is a macro used in place of a function?

Detailed Solution for Test: Programming in C - Question 7

Macro is used in place of a function because it reduces code size, and very efficient.

Test: Programming in C - Question 8

Which one of the following is a loop construct that will always be executed once?

Detailed Solution for Test: Programming in C - Question 8

The body of a loop is often executed at least once during the do-while loop. Once the body is performed, the condition is tested. If the condition is valid, it will execute the body of a loop; otherwise, control is transferred out of the loop.

Test: Programming in C - Question 9

How many bytes does "int = D" use?

Detailed Solution for Test: Programming in C - Question 9

The int type takes 2 or 4 bytes.

Test: Programming in C - Question 10

Which of the following will copy the null-terminated string that is in array src into array dest?

Detailed Solution for Test: Programming in C - Question 10

strcpy is a string function that is used to copy the string between the two files. strcpy(destination, source)

Information about Test: Programming in C Page
In this test you can find the Exam questions for Test: Programming in C solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Programming in C, EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)