JOIN ADRE 2.0 Telegram Group

Crack Entrance Exam - C Programming MCQ Questions and Answers

Questions
36 Which of the following language is predecessor to 'C' Programming language?
A A
B B
C ADA
D C++

Answer: Option [B]
37 Which of the following function declaration need not have a return statement in it's body?
A int a(char *s)
B void b(int a[], int n)
C float *c()
D short d(long x)

Answer: Option [B]

No value returned by void.

Advertisement
ADRE 2.0 Mock Test - 5 Start Test
ADRE 2.0 Mock Test - 5 Start Test

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

38 Identify the correct sequence of steps to run a program
A link, load, code, compile and execute
B code, compile, link, execute and load
C code, compile, link, load and execute
D compile, code, link, load and execute

Answer: Option [C]
39 What will be the output of the following code segment?

	int x=24, y=39, z=45	
	z=x+y;
	y=z-y;
	x=z-y;
	printf("\n%d%d%d",x,y,z);
	
A 24 39 63
B 39 24 63
C 24 39 45
D 39 24 45

Answer: Option [B]
40 In the passage of text, individual words and punctuation marks are known as:
A Constants
B Operators
C Keywords
D Tokens

Answer: Option [D]

ADRE 2.0 MOCK TEST

Take Mock Tests

Government Schemes Mock Test Start Test!
Political Science Mock Test – 42 Start Test
History Test – 190 Start Test
Quantitative Aptitude Test Start Test!
Trigonometry - Mock Test Start Test!
Data Interpretation - Mock Test Start Test!
General Awareness - Mock Test Start Test!
Reasoning Ability - Mock Test Start Test!
Englist(Antonyms) Mock Test 1 Start Test!
Quantitative Aptitude (Percentage) Mock Test Start Test!
Economy Mock Test 1 Unlock Test!
Books & Authors - Test 2 Unlock Test!

Chapters

Advertisement