Crack Entrance Exam - C Programming MCQ Questions and Answers

Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

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
Article and Schedule Quiz 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]

Random GK Questions

Chapters

Assam Direct Recruitment Test Series

Computer Science Topics