View Count: 0
Duration: 23 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 16 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 31 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 11 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 20
What will be the output of following program?
#include
int main()
{
	    int x , a , b , c;
	    a = 9; b = 12; c = 3;			
	    x = a - b/3 + c*2 - 1;
	    printf("%d",x);
} 
Options:
  1. 11
  2. 10
  3. 7
  4. 8
View Answer/Explanation:
b
Explanation:
Step 1: 9-4+3*2-1 Step 2: 9-4+6-1 Step 3: 5+6-1 Step 4: 11-1 Step 5: 10

Question No: 2 of 20
What is the output of the following program?
#include
int main()
{ 
int y=6;
printf("%d",++y);
} 
Options:
  1. 6
  2. 7
  3. 8
  4. 9
View Answer/Explanation:
b
Explanation:

Question No: 3 of 20
What is the output of the following program?
#include
int main()
{ 
	    int y=6;
	    printf("y=%d",--y);
} 
Options:
  1. 5
  2. 7
  3. 2
  4. 4
View Answer/Explanation:
a
Explanation:

Question No: 4 of 20
What is output of the following program?
#include
int main()
{
	    int i, j = 4;
	    i = j++;
	    printf("i = %d, j = %d", i , j);
} 
Options:
  1. i = 4, j = 4
  2. i = 5, j = 5
  3. i = 4, j = 5
  4. i = 5, j = 4
View Answer/Explanation:
c
Explanation:

Question No: 5 of 20
What is the equivalent expression assignment operator for the x=x+5; 
Options:
  1. x+=5;
  2. x=+5;
  3. x++;
  4. None of above
View Answer/Explanation:
a
Explanation:

Question No: 6 of 20
Which of the following are bitwise operators? 
Options:
  1. &
  2. &&
  3. <<
  4. ||
  5. ~
View Answer/Explanation:
a e
Explanation:

Question No: 7 of 20
What is the output of the following program?
#include
int main()
{
	    int x=3 , y;
	    y=(x > 2) ? (2 * x + 5) : (1.5 * x + 3);
	    printf("%d", y);
} 
Options:
  1. 7.5
  2. 11
  3. 3
  4. 9
View Answer/Explanation:
b
Explanation:

Question No: 8 of 20
What is the output for the following program?
#include
int main()
{
	    int x=4;
	    printf("%d",x++*++x*x--);
} 
Options:
  1. 144
  2. 125
  3. 137
  4. 126
View Answer/Explanation:
a
Explanation:
Here in the above program the expression is evaluated from left most side and execute each and every expression first the value of x is 4 for x++ later x is incremented by 1 now x is 5, next the expression ++x is incremented by 1 and now x is 6, then next the value of x—is 6 and expression is evaluated is become 5 X++ * ++X * X-- // 4*6*6=144.

Question No: 9 of 20
What is the output of the Following program?
#include
main()
{
	    float a = 1;
	    float b = 1;
	    printf("%d",sizeof(a+b));
} 
Options:
  1. 2
  2. 4
  3. 8
  4. 16
View Answer/Explanation:
b
Explanation:

Question No: 10 of 20
What is the output of the following program?
#include
main()
{
	    printf("%d  %d  %d ",sizeof('7'), sizeof(7), sizeof(7.0));
} 
Options:
  1. 1 4 8
  2. 2 1 8
  3. 1 2 4
  4. 2 1 4
  5. Compilation Error
View Answer/Explanation:
a
Explanation:

  1