
Module01_C_M_M&A

Quiz
•
Engineering
•
University
•
Hard

Nafees Ahmed Khan
Used 2+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
C02:2: From given option which one is Library that is used in c programming?
include
stdio
printf
return
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
CO1:2: In the following program which variable is global variable?
#include <stdio.h>
int result = 0;
int main() {
int num1, num2;
printf("Enter first number: ");
scanf("%d", &num1);
printf("Enter second number: ");
scanf("%d", &num2);
result = num1 + num2;
printf("Sum: %d\n", result);
return 0;
}
num1
num2
result
num1 and num2
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
CO1:1: Identify from the given options which are the correct identifiers?
return
Age
_cars
1apple
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
CO2:2: To store a string "hello world", which data type is used.
int
float
char
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CO2:2: From the given options, which one is correct data type for defining 10.75.
int data=10.75
float data=10.75
char data=10.75
none
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
CO1:1: what are the correct way to define constant in a program.
#define MAX 100
const float pi = 3.14159
const pi = 3.14159
#define MAX
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CO1:1: From given option, which function is used to display single character as output.
getchar( )
putchar( )
gets( )
puts( )
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
C Programming Day-10

Quiz
•
University
15 questions
Codigo

Quiz
•
University
15 questions
TRICODE CHALLENGE ROUND 1

Quiz
•
University
19 questions
AVINYA 2K25

Quiz
•
University
20 questions
NEXUS'25

Quiz
•
University
15 questions
TECH WHIZ

Quiz
•
University
15 questions
C Programming Quiz2

Quiz
•
University
15 questions
C Programming Quiz

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade