Can we declare function inside structure of C Programming?
C Programming - Basics 001

Quiz
•
Computers
•
University
•
Hard
Used 69+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Yes
No
Depends on Compiler
Yes but run time error
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is storage class for variable A in below code?
void main()
{
int A;
A = 10;
printf("%d", A);
}
extern
register
auto
static
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is output of below program?
void main()
{
const int a = 10;
printf("%d",++a);
}
11
10
Compilation Error
0
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Library function pow() belongs to which header file?
mathio.h
math.h
square.h
stdio.h
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Libray function getch() belongs to which header file?
stdio.h
conio.h
stdlib.h
stdlibio.h
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the following is invalid header file in C?
mathio.h
math.h
string.h
ctype.h
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is output of below code?
void main()
{
char name[]="Cppbuz";
int len;
int size;
len = strlen(name);
size = size_of(name);
printf("%d,%d",len,size);
}
6,6
6,7
7,7
0,0
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Java Static

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
12 questions
C Practice Test 1

Quiz
•
University
6 questions
Unit 13 Function and decision

Quiz
•
University
10 questions
ECE-C Quiz _3

Quiz
•
University
12 questions
Printf, scanf

Quiz
•
University
10 questions
C++ Quiz

Quiz
•
University
12 questions
javaquizvivek

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade