Aspire Faculty ID #17537 · Topic: UGC NET Computer Science August 2024 (Paper II) · Just now
UGC NET Computer Science August 2024 (Paper II)

Which of the following is correct way to declare a functional pointer in C ?

Solution

Function pointer syntax:


return_type (*pointer_name)(arguments);


Example:


int (*func)(int,int);


Meaning:


func is a pointer


pointing to a function


returning int


taking two int parameters


Thus correct declaration:


int (*func)(int,int);

Previous 10 Questions — UGC NET Computer Science August 2024 (Paper II)

Nearest first
1
Match List - I with List - II. List - I (Queries) List - II (Probability) (A) A bag contains 6 white and…
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Match List - I with List - II. List - I (Recurrence Relations)List - II (Complexity)  (A) $T(n)=2T(n/2)+…
Topic: UGC NET Computer Science August 2024 (Paper II)
3
Arrange the following steps of Feature Driven Development (FDD) process in the correct sequence :(A) Develop an overall…
Topic: UGC NET Computer Science August 2024 (Paper II)
4
Which of the following statements are TRUE about Process Control Block (PCB) ?(A) The PCB contains information about th…
Topic: UGC NET Computer Science August 2024 (Paper II)
5
Match List - I with List - II. List - I (operating system concepts)List - II (characteristics)  (A) Pagi…
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Select the Sorting Algorithms that are stable.(A) Quick Sort(B) Bubble Sort(C) Insertion Sort(D) Merge Sort(E) Shell So…
Topic: UGC NET Computer Science August 2024 (Paper II)
7
Arrange the following steps of file handling in C in the correct order :(A) Close the file(B) Read from or write to the…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Consider the three-way handshaking process followed during TCP connection establishment between two hosts A and B. Let …
Topic: UGC NET Computer Science August 2024 (Paper II)
9
#include<iostream.h>using namespace std;void swap(int &x, int &y){    int temp = x;  &nbsp…
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Consider a CSMA/CD network that transmits data at the rate of 100 Mbps over a 1 kilometre cable with no repeater. If th…
Topic: UGC NET Computer Science August 2024 (Paper II)

Next 10 Questions — UGC NET Computer Science August 2024 (Paper II)

Ascending by ID
1
Which of the following best describes the structure of a relational database ?
Topic: UGC NET Computer Science August 2024 (Paper II)
2
Which of the following tasks could be attained using syntax trees in compiler design ? (A) Type Checking (B) Code Gener…
Topic: UGC NET Computer Science August 2024 (Paper II)
3
Given a project with an estimated effort of 1500 person-hours and a team of 5 people, how many days will it take to com…
Topic: UGC NET Computer Science August 2024 (Paper II)
4
Consider the following C code :#include<stdio.h>int temp = 0;int fun(int x, int y){    int z;  &nb…
Topic: UGC NET Computer Science August 2024 (Paper II)
5
Let $P$ be “It is hot day” and $q$ be “The temperature is $48^\circ C$”. Write in simple sentences the meaning of $\neg…
Topic: UGC NET Computer Science August 2024 (Paper II)
6
Let $L(x,y)$ be the statement “$x$ loves $y$” where the domain for both $x$ and $y$ consists of all people in the world…
Topic: UGC NET Computer Science August 2024 (Paper II)
7
Consider the following relations on ${1,2,3,4}$. Which of the following relations are reflexive ?(A) $R_1={(1,1),(1,2),…
Topic: UGC NET Computer Science August 2024 (Paper II)
8
Fifth normal form is concerned with :
Topic: UGC NET Computer Science August 2024 (Paper II)
9
A coin is tossed successively three times. Find the Probability $(P)$, Event $(E)$, Sample space $(S)$ of getting exact…
Topic: UGC NET Computer Science August 2024 (Paper II)
10
Consider the given number $(45)_y$ where $y$ is the base of the number. Some of the possible values of $y$ are given be…
Topic: UGC NET Computer Science August 2024 (Paper II)
Ask Your Question or Put Your Review.

loading...