1
GATE CSE 1989
MCQ (Single Correct Answer)
+2
-0.6
In which of the following cases it is possible to obtain different results for call-by-reference and call-by-name parameter passing?
A
Passing an expression as a parameter
B
Passing an array as a parameter
C
Passing a pointer as a parameter
D
Passing an array element as a parameter
2
GATE CSE 1989
MCQ (Single Correct Answer)
+2
-0.6
An unrestricted use of the "goto" statement is harmful because of which of the following reason(s):
A
it makes it more difficult to verify programs
B
it makes programs more inefficient
C
it makes it more difficult to modify existing programs
D
it results in the compiler generating longer machine code
3
GATE CSE 1989
Subjective
+2
-0
How many substrings (of all lengths inclusive ) can be formed from a character string of length $$n$$? Assume all characters to be distinct. Prove your answer.
4
GATE CSE 1989
Subjective
+5
-0
Is the class of regular sets closed under infinite union? Explain.
EXAM MAP
Medical
NEET
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
CBSE
Class 12