What is the output of the following program ? #include
void main ( ) { int a = 40;
float b; b = ++a; printf(“%d, %f ”, a, ++b); }
Next 10 Questions — JECA MCA 2023
Ascending by ID
1
2
3
4
5
6
7
8
9
10
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?
#include <stdio.h>
void main(){
int i = -1;
printf("sizeof(i) = %d", sizeof(i));
}
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>
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