GkSeries.com

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

(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]

Please share this page

Chapters

Click Here to Read more questions

Teacher Eligibility Test