What is the output?
#include <stdio.h>
void main(){
int **ptr;
int temp = 65;
ptr[0] = &temp;
printf("%d", ptr[0][0]);
}
Previous 10 Questions — JECA MCA 2023
Nearest first
1
2
3
4
5
6
7
What is the output?
#include <stdio.h>
void main(){
int i = -9;
printf("%d %d %d", i++, ++i, ++i);
}
Topic: JECA MCA 2023
What is the output?
#include <stdio.h>
void main(){
char M = 'M';
printf("%d, %c", M, M);
}
Topic: JECA MCA 2023
What is the output?
#include <stdio.h>
enum colors{RED, BROWN, ORANGE};
void main(){
printf("%ld..%f..%d", RED,…
Topic: JECA MCA 2023
What is the output?
#include <stdio.h>
void main(){
int x = -1, y = 1, z = 0;
if(x && y++ && …
Topic: JECA MCA 2023
What is the output?
#include <stdio.h>
void main(){
int i = -1;
printf("sizeof(i) = %d", sizeof(i));
}
Topic: JECA MCA 2023
What is the output of the following C program?
#include <stdio.h>
void main(){
int a = -7;
float b;
b = a++…
Topic: JECA MCA 2023
What is the output of the following program ? #include
void main ( ) { int a = 40;
float …
Topic: JECA MCA 2023
Next 10 Questions — JECA MCA 2023
Ascending by ID
1
2
3
4
5
6
7
8
9
10
What is the output?
#include <stdio.h>
#include <stdlib.h>
void main(){
int *ptr;
ptr = (int*) calloc(3…
Topic: JECA MCA 2023
__________ interrupt may happen due to power failure.
Topic: JECA MCA 2023
11. Address of the next instruction to be executed is specified by ______________.
(A) MBR (B) MAR &…
Topic: JECA MCA 2023
12. Auxiliary memory is also known as ______________ memory.
(A) Primary (B) Secondary (C) Bin…
Topic: JECA MCA 2023
13. BIOS means ______________.
(A) basic input/output system (B) best input/output system (C) …
Topic: JECA MCA 2023
14. _________ is the most appropriate scheduling in case of a time-shared operating system.
(A) FCFS (B) R…
Topic: JECA MCA 2023
15. If only one process can be able to access a particular resource at a time, then it is known as ______________.
(A)…
Topic: JECA MCA 2023
16. Resource allocation graph is used to represent ______________.
(A) deadlock (B) virtual memory &…
Topic: JECA MCA 2023
17. Banker’s algorithm for resource allocation deals with ______________.
(A) mutual exclusion (B) mutual …
Topic: JECA MCA 2023
18. Page fault means ______________.
(A) required page is available in main memory (B) required page is no…
Topic: JECA MCA 2023