Question 196
[Q.96] In C programming, what is the output of the expression: printf("%d", 077); ?
Detailed Solution
A leading 0 denotes octal representation in C. 077 in octal = 7*$8^1 + 7*8^0$ = 56 + 7 = 63 in decimal.
[Q.96] In C programming, what is the output of the expression: printf("%d", 077); ?
A leading 0 denotes octal representation in C. 077 in octal = 7*$8^1 + 7*8^0$ = 56 + 7 = 63 in decimal.
[Q.97] In Object-Oriented Programming, declared 'virtual functions' in C++ enable which fundamental feature?
Virtual functions resolved via vtable enable dynamic late-binding runtime polymorphism.
[Q.98] Which keyword in Java prevents a class from being inherited by another class?
Declaring a Java class 'final' prohibits subclasses from extending it.
[Q.99] In Software Engineering, Cyclomatic Complexity M of a software module with E edges, N nodes, and P connected components is calculated as:
McCabe's Cyclomatic Complexity formula is M = E - N + 2P.
[Q.100] In Geographic Information Systems (GIS), what topological error occurs when a digitised line falls short of intersecting another line?
An Undershoot occurs when an arc fails to meet another arc, creating an unintended gap.