Aspire Faculty ID #18409 · Topic: UGC NET Computer Science June 2023 (Paper II) · Just now
UGC NET Computer Science June 2023 (Paper II)

What will be the output of the following code?
include <stdio.h>

int main() {

int a, b, c;

a = 0x10; b = 010;

c = a + b;

printf("%d", c);

return 0;

}

Solution

0x10 is a hexadecimal number.

0x10 = 16

010 is an octal number.

010 = 8

So,

c = 16 + 8 = 24

Previous 10 Questions — UGC NET Computer Science June 2023 (Paper II)

Nearest first
1
Given below are two statements:Statement I: Fuzzifier is a part of a fuzzy systemStatement II: Inference engine is a pa…
Topic: UGC NET Computer Science June 2023 (Paper II)
2
Let R = {x : x ∈ N, x is multiple of 3 and x ≤ 100} and S = {x : x ∈ N, x is multiple of 5 and x &lt; 100}. What is the…
Topic: UGC NET Computer Science June 2023 (Paper II)
3
Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.Assertion A: I/O p…
Topic: UGC NET Computer Science June 2023 (Paper II)
4
The clipping process in computer graphics is used for
Topic: UGC NET Computer Science June 2023 (Paper II)
5
Given below are two statements:Which of the following concurrency control protocol ensures both conflict serializabilit…
Topic: UGC NET Computer Science June 2023 (Paper II)
6
The following table shows the time between failures for a software:&nbsp;Error number:&nbsp;12&nbsp;3&nbsp;4&nbsp;5&nbs…
Topic: UGC NET Computer Science June 2023 (Paper II)
7
Match List I with List II&nbsp;LIST I&nbsp;LIST II&nbsp;A. Parallel FFT&nbsp;I. Θ(n²)&nbsp;B. Iterative FFTII. Θ(n)&nbs…
Topic: UGC NET Computer Science June 2023 (Paper II)
8
Which of the following is not a solution representation in a genetic algorithm?1.Binary valued2.Real valued3.Permutatio…
Topic: UGC NET Computer Science June 2023 (Paper II)
9
Match List I with List II&nbsp;LIST I&nbsp;LIST II&nbsp;&nbsp;A Δ B&nbsp;(A - B) ∪ (A - C)&nbsp;A - (B ∪ C)&nbsp;(A - B…
Topic: UGC NET Computer Science June 2023 (Paper II)
10
Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.Assertion A: Dendr…
Topic: UGC NET Computer Science June 2023 (Paper II)

Next 10 Questions — UGC NET Computer Science June 2023 (Paper II)

Ascending by ID
1
What is the output of following code?main()struct s1{char *z;int i;struct s1 *p;}static struct s1 a[] = {{"Nagpur", 1, …
Topic: UGC NET Computer Science June 2023 (Paper II)
2
Match List I with List II&nbsp;List I&nbsp;List II&nbsp;A. The running time of straight forward recursive method to com…
Topic: UGC NET Computer Science June 2023 (Paper II)
3
Consider a disk system with cylinders. The request to access the cylinders occurs in the following sequence:4, 34, 10, …
Topic: UGC NET Computer Science June 2023 (Paper II)
4
Find the sum of all four digit numbers formed using the digits 1, 2, 4 and 6.
Topic: UGC NET Computer Science June 2023 (Paper II)
5
How will you free the memory allocated by the following program?#include &lt;stdio.h&gt;#define MAXROW 3#define MAXCOL …
Topic: UGC NET Computer Science June 2023 (Paper II)
6
Sutherland Hodgeman method is used on
Topic: UGC NET Computer Science June 2023 (Paper II)
7
Consider the following statementsA. C-Fuzzy means clustering is a supervised method of learningB. PCA is used for dimen…
Topic: UGC NET Computer Science June 2023 (Paper II)
8
Let N denote the set of all natural numbers and R be the relation on N X N defined by (a, b) R(c, d), if ad(b + c) = bc…
Topic: UGC NET Computer Science June 2023 (Paper II)
9
Given below are two statements: one is labelled as Assertion A and the other is labelled as Reason R.Assertion A: A pro…
Topic: UGC NET Computer Science June 2023 (Paper II)
10
Let R (A, B, C, D) be a relational schema with following functional dependencies:$A \to B,\ B \to C$$C \to D$ and $D \t…
Topic: UGC NET Computer Science June 2023 (Paper II)
Ask Your Question or Put Your Review.

loading...