What is the output?
#include <stdio.h>
void main(){
int i = -1;
printf("sizeof(i) = %d", sizeof(i));
}
Previous 10 Questions — JECA MCA 2023
Nearest firstNext 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>
void main(){
int x = -1, y = 1, z = 0;
if(x && y++ && …
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(){
char M = 'M';
printf("%d, %c", M, M);
}
Topic: JECA MCA 2023
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(){
int **ptr;
int temp = 65;
ptr[0] = &temp;
printf(…
Topic: JECA MCA 2023
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