NEW
Font size
WorksheetsUnit 2 : Operators
Total questions: 8
Worksheet time: 4mins
refers to the practice of adding comments and other information to your code to explain its purpose, design, and usage.
Documentation Section
Link Section
Definition
All
refers to adding necessary header files that are useful in your code.
Link Section
documentation section
sub program section
all
It includes a preprocessor directive
Definition Section
Documentation
Global Declarations
all
The ______ function is a special function that serves as the entry point for the program.
main()
MAIN()
Main()
all
Refers to functions or procedures that perform a specific task or set of tasks and can be called from other parts of the program.
Subprogram Section
main
global
all
declaration refers to the declaration of a variable or function that is accessible from any part of the program, not just from the block or function where it was declared.
Global Section
subprogram section
Link section
all
#include <stdio.h>
int main()
{
int main = 3;
printf("%d", main);
return 0;
}
3
Compile time error
give garbage value
run time error
When we want to take input from the user, we use the__________ function
scanf()
printf()
sin()
all
