
Mark Us V24
Authored by Rukumani CT_PG
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
There are the following statements that are given below, which of them are correct about inline function?
A. Inline functions are a special type of function, which is used to reduce function call overhead.
B. If we mark a function as an inline, then the definition of that function is substituted at the place of call.
C. We cannot make every function as an inline function.
D. Inline is the request to the compile.
A & B
A & C
A,B,C
A,B,C,D
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be output if you will compile and execute the following c code?
#include<stdio.h>
int main(){
double far* p,q;
printf("%d",sizeof(p)+sizeof q);
return 0;
}
3.
FILL IN THE BLANK QUESTION
1 min • 1 pt
ANSWER: A
What will be output if you will compile and execute the following c code?
#include<stdio.h>
#define max 5;
int main(){
int i=0;
i=max++;
printf("%d",i++);
return 0;
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be output if you will compile and execute the following c code?
#include<stdio.h>
int main(){
int i=10;
static int x=i;
if(x==i)
else if(x>i)
else
printf("Equal");
printf("Greater than");
printf("Less than");
return 0;
}
Equal
Greater than
Less than
Compiler error
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be output if you will compile and execute the following c code?
#include<stdio.h>
char c;
char c;
int main(){
int array[]={10,20,30,40};
printf("%d",-2[array]);
return 0;
}
-60
-30
60
Garbage Value
6.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be output if you will compile and execute the following c code?
#include<stdio.h>
#define call(x,y) x##y
int main(){
int x=5,y=10,xy=20;
printf("%d",xy+call(x,y));
return 0;
}
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What will be output if you will compile and execute the following c code?
#include <stdio.h>
#include <string.h>
int main(){
int i=0;
for(;i<=2;)
printf(" %d",++i);
return 0;
}
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
25 questions
เขียนโปรแกรมเชิงวัตถุ
Quiz
•
Professional Development
25 questions
Repaso temas 1,2 y 3
Quiz
•
Professional Development
25 questions
Modulo n. 5: ELABORATORE TESTI
Quiz
•
Professional Development
25 questions
DevOps | Change Management | Incident Management Interview Quiz
Quiz
•
Professional Development
27 questions
RL Tema 6. Cuestionario
Quiz
•
Professional Development
26 questions
Bài 3: Bàn phím máy tính
Quiz
•
Professional Development
35 questions
Informatika PTS
Quiz
•
Professional Development
25 questions
IT support level-1 (MCQ-1)
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...