
30/04/2025

Quiz
•
Computers
•
University
•
Hard
Dr Brahma
Used 1+ times
FREE Resource
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following cannot be a variable name in C?
volatile
true
friend
export
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Functions in C Language are always
Internal
External
Both Internal and External
External and Internal are not valid terms for functions
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this C code?
#include <stdio.h>
int main()
{
int n = 0, m = 0;
if (n > 0)
if (m > 0)
printf("True");
else
printf("False");
}
True
False
No Output will be printed
Run Time Error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
If we need to store word "INDIA" then which is correct syntax?
char name[6] = {"I","N","D","I","A"}
char name[6] = {'I','N','D','I','A','\0'}
char name[6] = {'I','N','D','I','A'}
None of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the following declaration mean?
int (*ptr)[10];
ptr is array of pointers to 10 integers
ptr is a pointer to an array of 10 integers
ptr is an array of 10 integers
ptr is an pointer to array
6.
MULTIPLE CHOICE QUESTION
3 mins • 2 pts
What is the output of below program?
#include <stdio.h>
int foo(int* a, int* b)
{
int sum = a + b;
b = a;
return a = sum - b;
}
int main()
{
int i = 0, j = 1, k = 2, l;
l = i++ || foo(&j, &k);
printf("%d %d %d %d", i, j, k, l);
return 0;
}
1 2 1 1
1 1 2 1
1 2 2 1
1 2 2 2
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following is the correct way to declare a function in C?
int func(int x, float y);
func(int x, float y) int;
int func(int x float y);
func(int x, float y)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Apuntadores en C

Quiz
•
University
30 questions
Round_1 (B)| Coding Combat 2.0

Quiz
•
University
20 questions
C Programming (Unit- 1) Quiz

Quiz
•
University
25 questions
Quiz Bahasa C

Quiz
•
10th Grade - University
25 questions
TECH_IQ_HUNT ROUND

Quiz
•
University
20 questions
9.4.25 Mentoring quiz

Quiz
•
University
23 questions
Beginning C Programming

Quiz
•
University
20 questions
Operator in C

Quiz
•
University
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
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University