
PU - Day 1 assessments - Mahendran's batch

Quiz
•
Professional Development
•
Professional Development
•
Hard
training atomm
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int a = 3;
int b = ++a + a++ + --a;
printf("Value of b is %d", b);
}
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 5;
int y = x++ + --x + x--;
printf("Value of y is %d", y);
}
Value of y is 10
Value of y is 12
Value of y is 15
Value of y is 8
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int p = 2, q = 3;
int r = p * ++q + --p;
printf("Value of r is %d", r);
}
Value of r is 5
Value of r is 6
Value of r is 7
Value of r is 8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int m = 4;
int n = m-- + --m + ++m;
printf("Value of n is %d", n);
}
Value of n is 10
Value of n is 9
Value of n is 8
Value of n is 7
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int a = 6;
int b = a++ + ++a + --a;
printf("Value of b is %d", b);
}
Value of b is 18
Value of b is 16
Value of b is 12
Value of b is 14
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int x = 7;
int y = --x + x-- + ++x;
printf("Value of y is %d", y);
}
Value of y is 21
Value of y is 19
Value of y is 20
Value of y is 18
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
void main()
{
int p = 5, q = 2;
int r = p / --q + ++p;
printf("Value of r is %d", r);
}
Value of r is 5
Value of r is 6
Value of r is 8
Value of r is 7
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Avsec t3 dom pengetahuan bandar udara dll

Quiz
•
Professional Development
14 questions
Quiz-P1-3-SVS, Guiding Principles

Quiz
•
Professional Development
10 questions
Python Functions

Quiz
•
Professional Development
10 questions
C Programming Variables and Data Types

Quiz
•
Professional Development
11 questions
Fundamentals of Inventory - 3.0

Quiz
•
Professional Development
10 questions
C Structures

Quiz
•
Professional Development
10 questions
C-program Introduction

Quiz
•
Professional Development
15 questions
SQL Statements and Queries

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade