Crack Entrance Exam - C Programming MCQ Questions and Answers

(36) Which of the following language is predecessor to 'C' Programming language?
[A] A
[B] B
[C] ADA
[D] C++

Comment

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)

Comment

Answer: Option [B]

No value returned by void.

DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Article and Schedule Quiz Start Test!
(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

Comment

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

Comment

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

Comment

Answer: Option [D]

Take Mock Tests

Missiles Mock Test Start Test!
SSC MTS Mock Test Start Test
IBPS CLERK MOCK TEST Start Test
SSC MTS 2022 JULY 26 Shift 1 (ENGLISH) Start Test!
SSC GD Previous Year Paper 2021 Nov 17 Shift - I (Hindi) Start Test!
SSC CGL Tier - 1 PYP 2022 April 21 Shift- 1 (ENGLISH) Start Test!
MPSC PAPER I MOCK TEST 1 (ENGLISH) Start Test!
IB Security Assistant Mock test 1 (english) Start Test!
UP POLICE CONSTABLE MOCK TEST 1 Start Test!
DELHI POLICE CONSTABLE MOCK TEST 1 (HINDI) Start Test!

Chapters