
AIML TECH TRIATHLON
Quiz
•
Professional Development
•
Professional Development
•
Medium
jagadeeswari konduru
Used 1+ times
FREE Resource
Enhance your content
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1. Which of the following are C preprocessors?
a) #ifdef
b) #define
c) #endif
d) all of the above
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2. In C language, FILE is of which data type?
a) int
b) char *
c) struct
d) None of the mentioned
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
3. What will be the output of the following C code?
#include <stdio.h>
int main()
{
int y = 10000;
int y = 34;
printf("Hello World! %d\n", y);
return 0;
}
a)Compile time error
b) Hello World! 34
c) Hello World! 1000
d) Hello World! followed by a junk value
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What will be the final value of x in the following C code?
#include <stdio.h>
void main()
{
int x = 5 * 9 / 3 + 9;
}
a) 3.75
b) Depends on compiler
c) 24
d) 3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which function will you choose to join two words?
a) strcpy()
b) strcat()
c) strncon()
d) memcon()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. Comment on the following pointer declaration.
int *ptr, p;
a) ptr is a pointer to integer, p is not
b) ptr and p, both are pointers to integer
c) ptr is a pointer to integer, p may or may not be
d) ptr and p both are not pointers to integer
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. What will be the output of the following C code?
#include <stdio.h>
int main()
{
int *ptr, a = 10;
ptr = &a;
*ptr += 1;
printf("%d,%d/n", *ptr, a);
}
a) 10,10
b) 10,11
c) 11,10
d) 11,11
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple

Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
25 questions
Chap2. Establishing a PPP Framework
Quiz
•
Professional Development
25 questions
PSIKOTES UJI KECEPATAN
Quiz
•
Professional Development
25 questions
Contrats de travail (complet)
Quiz
•
Professional Development
25 questions
Dicipulado Real L&V lección:4 prof.Maribel Garcías
Quiz
•
Professional Development
30 questions
CCC Quiz Night
Quiz
•
Professional Development
30 questions
Programming Boot Camp-Quiz I
Quiz
•
Professional Development
27 questions
SULTAN BAGINDO 9
Quiz
•
Professional Development
25 questions
Latsol 3 PPPK Kompetensi Manajerial
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade