Aspire Faculty ID #13709 · Topic: JAMIA MILLIA ISLAMIA MCA 2022 · Just now
JAMIA MILLIA ISLAMIA MCA 2022

What will be output of following statements?
int i = 1, j;
j = --i - 2;
printf("%d", j);

Solution

i = 1 → --i = 0 → j = 0 - 2 = -2

Previous 10 Questions — JAMIA MILLIA ISLAMIA MCA 2022

Nearest first

Next 10 Questions — JAMIA MILLIA ISLAMIA MCA 2022

Ascending by ID
1
What is the output of following C Program?#include <stdio.h>int main(){    char grade[] = {'A','B','C'}…
Topic: JAMIA MILLIA ISLAMIA MCA 2022
2
Which one is not a reserve keyword in C Language?
Topic: JAMIA MILLIA ISLAMIA MCA 2022
3
What is the output of following C program: int main(){  int a[3]={10,12,14};  a[1]=20; int i=0;  while(i…
Topic: JAMIA MILLIA ISLAMIA MCA 2022
4
The number of groups that can be made from 5 different green balls, 4 different blue balls and 3 different red balls, i…
Topic: JAMIA MILLIA ISLAMIA MCA 2022
5
In a unique hockey series between India & Pakistan, they decide to play on till a team wins 5 matches. The number o…
Topic: JAMIA MILLIA ISLAMIA MCA 2022
6
20 persons are sitting in a particular arrangement around a circular table. 3 persons are to be selected for leaders. T…
Topic: JAMIA MILLIA ISLAMIA MCA 2022
7
If A and B are two independent events in a sample space, then $P(\overline{A}/\overline{B})$ equals:
Topic: JAMIA MILLIA ISLAMIA MCA 2022
8
100 identical coins, each with probability $p$ of showing heads, are tossed. If $0 < p < 1$ and the probability of show…
Topic: JAMIA MILLIA ISLAMIA MCA 2022
9
At any time, the total number of people on the earth who have shaken hands an odd number of times is:
Topic: JAMIA MILLIA ISLAMIA MCA 2022
10
Let two fair six-faced dice $A$ and $B$ be thrown simultaneously. Let $E_1$ be the event that die $A$ shows 4, $E_2$ th…
Topic: JAMIA MILLIA ISLAMIA MCA 2022
Ask Your Question or Put Your Review.

loading...