Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

The following program segment

{
	int sum, index;
	index = 50;
	while (index > = 0) 
	{
		sum =sum/index;
		-index;
	}
} 
A Will give a run time error
B Will give a compilation error
C Will give a linking error
D None of the above
Answer & Explanation
Option: [B]
Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP
Assam Direct Recruitment Test Series

Computer Science Topics