Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

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.

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]

Computer Science Books

Chapters

Please Like Us
Brand