
fundamentals on c
Authored by Prasanth Kumar
Other
Professional Development
Used 13+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
who is the father of c language
bjoune strousstrip
dennis m ritchie
dr e.f coud
james a .gosling
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
#include<stdio.h>
int main()
{
int n;
for(n = 7; n!=0; n--)
printf("n = %d", n--);
getchar();
return 0;
}
infinite loop
finite loop
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
find the output of snippet?
#include<stdio.h>
int main()
{
printf("%x", -1<<1);
getchar();
return 0;
}
dependent on the compiler
independent on the compiler
error
compile successfully
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
# include <stdio.h>
# define scanf "%s Geeks For Geeks "
main()
{
printf(scanf, scanf);
getchar();
return 0;
}
Output: %s Geeks For Geeks Geeks For Geeks
Output: %d Geeks For Geeks Geeks For Geeks
Output: %f Geeks For Geeks Geeks For Geeks
Output: %c Geeks For Geeks Geeks For Geeks
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
#include<stdio.h>
char *getString()
{
char str[] = "Will I be printed?";
return str;
}
int main()
{
printf("%s", getString());
getchar();
}
Output:accurate value
Output: Some garbage value
Output:error
Output:not compile
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
#include<stdio.h>
main()
{
char s[]="hello", t[]="hello";
if(s==t){
printf("eqaul strings");
}
}
equal
unequal
will have output
no output
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of the following program?
#include<stdio.h>
main()
{
float t = 2;
switch(t)
{
case 2: printf("Hi");
default: printf("Hello");
Hi
HiHello
Hello
Error
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
10 questions
Anime
Quiz
•
KG - Professional Dev...
10 questions
PC Foundations
Quiz
•
Professional Development
13 questions
Chat GPT 3.5
Quiz
•
Professional Development
10 questions
Ninjago. Who am I?
Quiz
•
KG - Professional Dev...
12 questions
SQL basics
Quiz
•
Professional Development
15 questions
ITIL 4 Foundation_SVS
Quiz
•
Professional Development
10 questions
MPSAS 17 : Hartanah, Loji dan Peralatan
Quiz
•
Professional Development
15 questions
christmas music trivia
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
10 questions
Probability Practice
Quiz
•
4th Grade
15 questions
Probability on Number LIne
Quiz
•
4th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
6 questions
Appropriate Chromebook Usage
Lesson
•
7th Grade
10 questions
Greek Bases tele and phon
Quiz
•
6th - 8th Grade
Discover more resources for Other
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
12 questions
Mardi Gras Trivia
Quiz
•
Professional Development
7 questions
Copy of G5_U5_L14_22-23
Lesson
•
KG - Professional Dev...
12 questions
Unit 5: Puerto Rico W1
Quiz
•
Professional Development
42 questions
LOTE_SPN2 5WEEK2 Day 4 We They Actividad 3
Quiz
•
Professional Development
15 questions
Balance Equations Hangers
Quiz
•
Professional Development
31 questions
Servsafe Food Manager Practice Test 2021- Part 1
Quiz
•
9th Grade - Professio...